this: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (somebody could reread it and check a) the english and b) for integrity)
 
mNo edit summary
Line 12: Line 12:
'''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 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).


'''thilist''' 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).
 
'''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).

Revision as of 01:25, 6 July 2006


_this, this and thilist


_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).