playMaker

Author Topic: loop count exceeded maximum: 1000 default is 1000. Override in FSM [SOLVED]  (Read 14950 times)

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
Hi guy
i have 2 state
state 1 i use " mouse pick event  "
state 2 i use "add force "
i connect 2 this state together
but when i play it show this error : "loop count exceeded maximum: 1000 default is 1000. Override in FSM inspector "
so how to fix it ?

sorry i just beginer!
« Last Edit: March 01, 2014, 10:27:19 PM by eotiti »

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
anyone ???

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Return to State 1 using the Next Frame Event.

Playmaker tries to complete all events in a single update so you can chain lots of actions together. But this can create infinite loops. Generally you can use Next Frame Event to break out of an infinite loop.

Does that make sense? This should probably be on a FAQ or in Getting Started somewhere since it comes up quite a bit...

EDIT: I've added an Infinite Loop note to this page on the wiki:
https://hutonggames.fogbugz.com/default.asp?W128
« Last Edit: March 01, 2014, 03:12:02 PM by Alex Chouls »

eotiti

  • Junior Playmaker
  • **
  • Posts: 65
oh yea thank ! Alex Chouls