Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: Rhyuzaky on July 20, 2015, 06:28:55 AM
-
For action with the setting (A Loop which also is called iteration and is limited to certain valor.Exemplo: X will grow until it is less than Z.)
Sera that it is possible to do this for playmaker?
Thanks?
-
Hi,
Yes, of course. you simply use the action "float compare" to achieve this. Have you experimented with that action already?
Bye,
Jean
-
I do not think you understood what I meant.
I talked about the "for".
It would be very useful for its function.
-
Hi,
Ok, I see, use the action iterate (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/master/Assets/PlayMaker%20Custom%20Actions/StateMachine/Iterate.cs) available on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181), which exactly that,
Bye,
Jean
-
Friend, I tried to use this action in the playmaker.
It turns out a problem with it, it does not loop to reach the maximum value, just jump from baseline to end immediately.
Sera that you can solve this error?
-
Hi,
that's odd, I use this action all the time.
are you sure you don't edit the "increment" variable itself?
Are you sure you are using custom events for your loop and finished event. DO NO USE the "FINISH" event, as it is a build in system event, and could be the source of the trouble.
Bye,
Jean
-
Jean, I managed to solve the problem (It was not a problem):
In fact it was so put the actions that I wanted to run every iteration (In this case create cubes), ordered upon iterate.
Ma out some errors that occur and end the WSF (a loop error that exceeded 1000) it's alright.
Thank You Very Much!