playMaker

Author Topic: Trying to use "Set Property" on a script, no variables show up.  (Read 1497 times)

patheticorganic

  • Playmaker Newbie
  • *
  • Posts: 11
I'm trying to edit the speed variable of this preset third person controller script I'm using (Invector) every time I press a key through the "Set Property" function. However, when I put the script into the FSM, no editable variables show up, only "hideFlags" and "name" show up.

patheticorganic

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Trying to use "Set Property" on a script, no variables show up.
« Reply #1 on: August 21, 2020, 01:28:47 PM »
Bump. Still can't access public variables.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Trying to use "Set Property" on a script, no variables show up.
« Reply #2 on: August 22, 2020, 04:30:00 AM »
Hi.
Can you show the script of the controller? (you can use Pastebin or something similar, or attack the script)

where did you get the controller from?
Does it have some documentation?

SawyerK

  • Junior Playmaker
  • **
  • Posts: 92
Re: Trying to use "Set Property" on a script, no variables show up.
« Reply #3 on: August 24, 2020, 09:08:57 AM »
You can drag and drop the script inside where the other actions are or use Get Component then Set Property

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Trying to use "Set Property" on a script, no variables show up.
« Reply #4 on: August 24, 2020, 09:24:17 AM »
Hi.
I do not have the script and /or do not know what script you are using.

I will need to script to try

patheticorganic

  • Playmaker Newbie
  • *
  • Posts: 11
Re: Trying to use "Set Property" on a script, no variables show up.
« Reply #5 on: August 31, 2020, 06:26:40 AM »
Hi.
Can you show the script of the controller? (you can use Pastebin or something similar, or attack the script)

where did you get the controller from?
Does it have some documentation?


Sorry, I didn't get the message.
The controller is the Invector Third Person Controller; its the free version.. I'll put it in a pastebin.
https://pastebin.com/epRaBP3i

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Trying to use "Set Property" on a script, no variables show up.
« Reply #6 on: September 08, 2020, 09:04:59 AM »
Hi.
I think this is build up from multiple scripts.

does it have a sample scene where it is changing the speed @runtime  (on a script) ?