Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Rabagast on July 17, 2014, 10:40:10 AM

Title: Add Float from another FSM
Post by: Rabagast on July 17, 2014, 10:40:10 AM
Hi!

Is it possible to add float or int, etc. from another FSM?
It's a Set FSM Float there, but I need to add float from another FSM.
I tried to use Get FSM Float and store it in a variable and then use Add Float, but it doesn't seem to work.

Thanks! :)
Title: Re: Add Float from another FSM
Post by: Lane on July 17, 2014, 10:48:54 AM
Using Get FSM Float and adding it should work fine. You've probably targetted the wrong FSM name or variable name.

Otherwise:

Add FSM Float
http://hutonggames.com/playmakerforum/index.php?topic=4989

It's also on ecosystem.
Title: Re: Add Float from another FSM
Post by: Rabagast on July 17, 2014, 12:06:12 PM
I think I did it correct, but AddFSMFloat works great. Thank you for that. :-)
But does it exist an Add FSM Int or Add FSM Bool also? :)
Title: Re: Add Float from another FSM
Post by: Lane on July 17, 2014, 12:09:30 PM
I think I did it correct, but AddFSMFloat works great. Thank you for that. :-)
But does it exist an Add FSM Int or Add FSM Bool also? :)

No, but I'll look into making them.
Title: Re: Add Float from another FSM
Post by: Rabagast on July 17, 2014, 12:17:35 PM
Ok!
Thank you so much! :)