Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: JennaReanne on June 05, 2013, 12:09:45 PM
-
Hi all,
I'm running up against some problems with "Run FSM" and "Finish FSM" and I'm not sure if I've set something up wrong or if it's a bug.
In my game the player can drag and drop a potion onto a number. The number should then increase by 1. Here's how I'm accomplishing this: the potion sends an event to the number when it is dropped, and the number then uses the "Run FSM" action to run a "Run Potion" FSM (I'm setting it up this way because eventually I'll have lots of potion types). The "Run Potion" FSM adds 1 to the number, and ends with a "Finish FSM" action.
The first time I use the potion, it works perfectly. Every time after that, the number is increased by 2 instead of 1. Could the Run FSM action be running twice?
Thank you,
Jenna
-
Could you post some screenshots or an example?
-
Indeed there is a bug - thanks for catching it!
I've attached a fixed version of Run FSM.
The fix will also be in the next release, which should be in the store next week.