addAction – Talk

From Bohemia Interactive Community
Revision as of 21:24, 19 March 2007 by Hardrock (talk | contribs)
Jump to navigation Jump to search

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)