So scouring for hours to try to figure this out, I've got so many mixed comments on different threads. Some saying they have no problem using yanflys plugins with SRD summons and other saying the opposite. After a lot of trial and error, I managed to find the exact problem. When I have a summon out using SRD summons, and an enemy that is using camera movements from Yep action sequence 3 hits it, the game crashes. If I have action sequence 3 off, it doesn't crash. If I have the enemy use an ability that doesn't have a camera sequence it doesn't crash. Here is the error:
Anyone know what might be a solution to this problem?
Edit: This was crashing on just my default attack, which has the following code:
I gave my enemy different skills such as this:
And had no problems. So the problem is in something with the first action sequence, not compatibility with YEP in and of itself.
UPDATE:
To all future users that have this problem! The problem is that when the summon dies and you have it set as the camera target in action sequence 3 the value is returned as null since there is no more position! To fix this, just add a camera reset to your action sequence list instead of letting it do it automatically and it solves the problem! W00t!
Edit: This was crashing on just my default attack, which has the following code:
<setup action>
display action if user.attackMotion() !== 'missile'
camera focus: target zoom: 150%, 20
camera offset: right, 50
else
camera focus: user zoom: 250%, 20
wait: 20
camera focus: target
zoom: 150%, 20
camera offset: right, 50
end immortal: targets, true
</setup action>
<target action>
if user.attackMotion() !== 'missile'
move user: targets, front, 20
else
perform start
end
wait for movement motion
attack: user
wait: 10
attack animation: target
wait for animation
action effect
wait for animation
wait for movement
wait: 5 </target action>"]
display action if user.attackMotion() !== 'missile'
camera focus: target zoom: 150%, 20
camera offset: right, 50
else
camera focus: user zoom: 250%, 20
wait: 20
camera focus: target
zoom: 150%, 20
camera offset: right, 50
end immortal: targets, true
</setup action>
<target action>
if user.attackMotion() !== 'missile'
move user: targets, front, 20
else
perform start
end
wait for movement motion
attack: user
wait: 10
attack animation: target
wait for animation
action effect
wait for animation
wait for movement
wait: 5 </target action>"]
I gave my enemy different skills such as this:
<setup action>
camera focus: user, 30
zoom: 150%, 30
wait for zoom
wait for camera
camera focus: target
wait for camera
</setup action>
<Target Action>
move user: target, front head, 5
wait for movement
motion swing: user
action animation
move user: target, back, 5
motion swing: user
wait for movement
move user: target, back center, 5
motion swing: user
wait for movement
move user: target, front head, 5
motion swing: user
wait for movement
move user: target, back head, 5
motion swing: user
wait for movement
move user: target, front center, 5
motion swing: user
wait for movement
move user: target, front, 5
motion swing: user
wait for movement
move user: target, back center, 5
motion swing: user
wait for movement
move user: target, front center, 5
motion swing: user
wait for movement
wait: 20
move user: target, back center, 5
motion swing: user
action effect
action effect
action effect
action effect
action effect
</Target Action>
camera focus: user, 30
zoom: 150%, 30
wait for zoom
wait for camera
camera focus: target
wait for camera
</setup action>
<Target Action>
move user: target, front head, 5
wait for movement
motion swing: user
action animation
move user: target, back, 5
motion swing: user
wait for movement
move user: target, back center, 5
motion swing: user
wait for movement
move user: target, front head, 5
motion swing: user
wait for movement
move user: target, back head, 5
motion swing: user
wait for movement
move user: target, front center, 5
motion swing: user
wait for movement
move user: target, front, 5
motion swing: user
wait for movement
move user: target, back center, 5
motion swing: user
wait for movement
move user: target, front center, 5
motion swing: user
wait for movement
wait: 20
move user: target, back center, 5
motion swing: user
action effect
action effect
action effect
action effect
action effect
</Target Action>
And had no problems. So the problem is in something with the first action sequence, not compatibility with YEP in and of itself.
UPDATE:
To all future users that have this problem! The problem is that when the summon dies and you have it set as the camera target in action sequence 3 the value is returned as null since there is no more position! To fix this, just add a camera reset to your action sequence list instead of letting it do it automatically and it solves the problem! W00t!