Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: phannDOTde on November 29, 2013, 09:48:24 PM

Title: Trigger Event Issue
Post by: phannDOTde on November 29, 2013, 09:48:24 PM
I am having an issue with a Trigger Event and i can figure out whats going wrong here. I got a Prefab Projectile translating throu the scene with a Trigger Event waiting. When it enters the desired Trigger it seems to activate the Exit Event exactly 2 Times. It didnt happend before on any Trigger Event I worked with directly in the Scene and I cant figure out why this one in the Prefab does :-/

I'am afraid that this could cause more Problems later on so if anyone got good advice here it wouldt be great.

Thanks
/peter

p.s. Attached a Screenshot of the FSM
Title: Re: Trigger Event Issue
Post by: jeanfabre on December 02, 2013, 02:20:44 AM
Hi,

 NEVER use the "FINISH" event for your own purpose, the "FINISH" event is a special system event fired by actions when they are done.

 so in your trigger event, you should fire a custom event that you create for this purpose, then I think it will work better.

bye,

 Jean
Title: Re: Trigger Event Issue
Post by: phannDOTde on December 02, 2013, 01:50:02 PM
So I completly missunderstud that :-( thanks for the advice. I temporarily fixed it by having a small delay after the first trigger Event recived at some point. Need to rething that as soone I got time for that.

cheers