I am trying to create an new action definition that takes a variable as one of it's parameters
Alternatively, you could tell me how to convert a variable's name to a string and back again
Both are things I have never done
I know C/C so I will probably be able to do some custom scripting if it is required
To Clarify: I don't want it to take the value of a variable. I the parameter to be that variable.
You can do that, but you need to check the Option: Operator in your action first. You can then change the parameter's type to <Any Variable> (and you can specify a required type if you want), but you need to write the whole action in custom script then. Checking operator makes the action work like an inline function in c, so you need to directly refer to it's content by using #PARAM(param).
I am trying to create an new action definition that takes a variable as one of it's parameters Alternatively, you could tell me how to convert a variable's name to a string and back again Both are things I have never done
I know C/C so I will probably be able to do some custom scripting if it is required
To Clarify: I don't want it to take the value of a variable. I the parameter to be that variable.
You can do that, but you need to check the Option: Operator in your action first. You can then change the parameter's type to <Any Variable> (and you can specify a required type if you want), but you need to write the whole action in custom script then.
Checking operator makes the action work like an inline function in c, so you need to directly refer to it's content by using #PARAM(param).