playMaker

Author Topic: Next Frame Event - not working? [solved]  (Read 2207 times)

createasaurus

  • Full Member
  • ***
  • Posts: 146
Next Frame Event - not working? [solved]
« on: September 17, 2014, 09:06:18 PM »
Hi,
I'm following the youtube tutorial: BadSeedGames Basic AI system in Playmaker 2: Line of Sight.

It tells how to create a simple continuous loop of events, and use the Next Frame Event to override the infinite loop error.

However, when I run my game, this FSM gets stuck. See image - it shows where the FSM is frozen.  It basically cycles through the events once, then sticks here.  Notice there are no errors posted.  I think either I must be overlooking something or the Next Frame Event is not working.  If I delete the Next Frame Event action, it gives the infinite loop error.

Thank you for any advice,
Createasaurus
« Last Edit: September 18, 2014, 07:41:55 AM by createasaurus »

createasaurus

  • Full Member
  • ***
  • Posts: 146
Re: Next Frame Event - not working? [solved]
« Reply #1 on: September 18, 2014, 07:45:21 AM »
The Next Frame Event was always working great.  I had a totally different set of problems, and I was just blaming poor Next Frame Event.

Basically my raycast never was hitting the Player (no collider because I was using First Person Camera, raycast pointing opposite direction, and too small a target when I put one in), so it seemed like the state was stuck here.
« Last Edit: September 18, 2014, 07:48:46 AM by createasaurus »