playMaker

Author Topic: <Q> How to change var with custom script  (Read 1400 times)

natysoz

  • Playmaker Newbie
  • *
  • Posts: 3
<Q> How to change var with custom script
« 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: <Q> How to change var with custom script
« Reply #1 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