Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: eotiti on March 01, 2014, 03:10:11 AM

Title: loop count exceeded maximum: 1000 default is 1000. Override in FSM [SOLVED]
Post by: eotiti on March 01, 2014, 03:10:11 AM
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!
Title: Re: loop count exceeded maximum: 1000 default is 1000. Override in FSM inspector ?
Post by: eotiti on March 01, 2014, 02:18:30 PM
anyone ???
Title: Re: loop count exceeded maximum: 1000 default is 1000. Override in FSM inspector ?
Post by: Alex Chouls on March 01, 2014, 02:48:44 PM
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
Title: Re: loop count exceeded maximum: 1000 default is 1000. Override in FSM inspector ?
Post by: eotiti on March 01, 2014, 10:26:30 PM
oh yea thank ! Alex Chouls