addAction – Talk
Is the 'spawn' command compatible with addaction? If so, what is the correct syntax?
Might it be that the arguments parameter is of type Code or possibly Structured Text....anyone??
Planck 19:27, 5 March 2007 (CET)
You can pass 1 variable in the 'arguments' parameter position.
This 1 variable may be of any 'Type' - I haven't tested all the different types, but I did test a variable of type Array, Code, String and all were parsed to the designated script with the type intact. Sy 11:04, 6 March 2007 (NZT)
Just an idea: Wouldn't it make sense to leave away the brackets in the second syntax? The short version is covered in the first syntax description anyway. --hardrock 20:24, 19 March 2007 (CET)
It's just me putting back the original syntax statement as it is in the original BI ArmA comref.
You are probably correct, but I was thinking more of the newcomers to the command reference and how to differentiate, in short, trying to make it easier for them to grasp the concept as addAction is not exactly simple in terms of the presented explanation. It is easy for us veterans, who know the commands, especially the old ones, but, for newcomers it might not seem so easy. So, I was trying to mark the difference. If you feel it can be clearer without the brackets .......go ahead.
Planck