Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on July 26, 2015, 02:02:56 AM

Title: Test Variable From Script in FSM?
Post by: Gav (HeyBud) on July 26, 2015, 02:02:56 AM
Hi, I'd like to know if there's a way to test a variable in a script on the same object. Some help would be nice. The Send message only lets me run a function. I just want to test a bool from a script.

Thanks
Title: Re: Test Variable From Script in FSM?
Post by: DarkSoul on July 26, 2015, 04:47:44 AM
Hello,

You can use get property to get a script variable and assign it to a playmaker variable.
Then you can test that playmaker variable.

I hope this helps
Title: Re: Test Variable From Script in FSM? [SOLVED]
Post by: Gav (HeyBud) on July 26, 2015, 06:04:57 AM
Yep that helps, thanks!  :)