Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: natysoz on April 26, 2014, 09:08:19 AM

Title: <Q> How to change var with custom script
Post by: natysoz on April 26, 2014, 09:08:19 AM
hello i jsut buy your product awsome thing to build my alpha!!!!


i would like to ask , i got custom movement script and i got speed var withour function

i want when i take an "speed orb" i will have the ability to add float to the Speed Var


i have tried "send messege" but its dont let me choose the var becuse its dont have function

also i cant create function for it , because other functions later in script use this var...

:S
Title: Re: <Q> How to change var with custom script
Post by: jeanfabre on April 29, 2014, 12:14:15 AM
Hi,

 Use "set property" action instead. Also make sure that your variable is "Public" else it will not be listed.

bye,

 Jean