playMaker

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

natysoz

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
<Q> How to change var with custom script
« on: April 26, 2014, 06: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: 14957
  • Official Playmaker Support
    • View Profile
Re: <Q> How to change var with custom script
« Reply #1 on: April 28, 2014, 09:14:15 PM »
Hi,

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

bye,

 Jean