this: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




'''_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''' contains the given arguments in a script/function, executed by [[call]], [[exec]], [[execVM]] or [[spawn]]. For the arguments in scripts executed by mission-made actions check the article [[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).
'''this''' is used in statement lines of 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 and contains the same as the [[list]] command (thislist is obviously referring to the trigger's list).
'''thislist''' can only be used in the OnActivation line of a trigger and contains the same as the [[list]] command (thislist is obviously referring to the trigger's list).

Revision as of 20:22, 23 October 2006


_this, this and thislist


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


this is used in statement lines of 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 and contains the same as the list command (thislist is obviously referring to the trigger's list).