this: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting_Topics]]
[[Category:Scripting_Topics|T]]





Revision as of 20:00, 30 July 2006


_this, this and thislist


_this contains the given arguments in a script/function, executed by exec, execVM or call. For the arguments in scripts executed by mission-made actions check Comments of addAction.


this is used for config-made actions (contains the object which was the action attached to), in initlines (containing the object which the initline belongs to) and last but not least in condition lines of trigger this stands for the conditions you set in the trigger (like "East Not Present" etc).


thislist can only be used in the OnActivation line of a trigger annd contains the same as the list command (thislist is obviously referring to the trigger's list).