Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Rhyuzaky on July 20, 2015, 06:28:55 AM

Title: for[SOLVED]
Post 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?
Title: Re: for
Post by: jeanfabre on July 20, 2015, 09:18:16 AM
Hi,

 Yes, of course. you simply use the action "float compare" to achieve this. Have you experimented with that action already?

Bye,

 Jean
Title: Re: for
Post by: Rhyuzaky on July 20, 2015, 10:41:38 AM
I do not think you understood what I meant.
I talked about the "for".
It would be very useful for its function.
Title: Re: for
Post by: jeanfabre on July 23, 2015, 09:07:42 AM
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
Title: Re: for
Post by: Rhyuzaky on July 23, 2015, 01:27:38 PM
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?
Title: Re: for
Post by: jeanfabre on July 27, 2015, 07:17:13 AM
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
Title: Re: for(Thanks)
Post by: Rhyuzaky on July 31, 2015, 07:49:22 PM
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!