Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: doppelmonster on April 15, 2013, 04:47:02 AM

Title: Cant find the Infinite loop Threshold [SOLVED]
Post by: doppelmonster on April 15, 2013, 04:47:02 AM
Hello,
im searching for the "infinite loop treshold" and cant find it.
It should be part of the FSM component in the inspector of the Game object, right?

Its not there, i also looked into the preferences without luck.

Im using Playmaker 1.56

Thanks in advance,
Matthias
Title: Re: Cant find the Infinite loop Threshold
Post by: escpodgames on April 15, 2013, 05:10:44 AM
In the preferences there is a tab at the top, select debugging.
Title: Re: Cant find the Infinite loop Threshold
Post by: doppelmonster on April 15, 2013, 09:44:22 AM
I checked the preferences, debugging tab. See screenshots. From what i understand is that it was in earlier versions in debugging but now the treshold can be set per FSM and so moved to the inspector of the FSM. But there it is also not...
Title: Re: Cant find the Infinite loop Threshold
Post by: Alex Chouls on April 15, 2013, 10:21:27 AM
In 1.5.6 the Inifinite Loop Threshold moved to the FSM tab in the Playmaker editor, so you can override it per FSM. The default limit is 1000.

I'll add it to the PlayMakerFSM inspector for consistency.

Personally I tend to keep the PlayMakerFSM inspector collapsed since it effects performance in the editor...
Title: Re: Cant find the Infinite loop Threshold
Post by: doppelmonster on April 15, 2013, 11:01:03 AM
Ah, yeah got it.

The log info brought me on the wrong track as it says: FSM Inspector.

Thank you very much. Is there a problem with a higher threshold number like 10.000? My KI has to check through a lot of loops...


i use the FSM inspector mainly for variable checking, otherwise its collapsed
Title: Re: Cant find the Infinite loop Threshold
Post by: Alex Chouls on April 15, 2013, 11:23:22 AM
It all depends on how much work you're doing in the loop... you might see a hitch in playback, but you'd have to try it and see... Let me know if you run into any problems.