I am trying to make a user-defined function accept a record as a parameter, using the GUI, and I have not had any luck. I guess there is a way to do this through galaxy scripting but I don't really have the desire to start learning that. Does anyone know any tricks in the GUI to make a function accept a record?
I am trying to make a user-defined function accept a record as a parameter, using the GUI, and I have not had any luck. I guess there is a way to do this through galaxy scripting but I don't really have the desire to start learning that. Does anyone know any tricks in the GUI to make a function accept a record?
@DancesWithGlocks: Go
I don't know why you're saying record instead of variable. There's no way to do that in neither GUI nor galaxy.
Only possible with galaxy script. If you must do in GUI, put your variables of the same record type into arrays, then pass the array index.
http://www.sc2mapster.com/forums/development/triggers/60722-how-to-use-a-record-as-custom-actions-parameter/
http://www.sc2mapster.com/forums/development/galaxy-scripting-and-trigger-lib/55282-galaxy-classes/