this: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Fix redirection)
Tag: Redirect target changed
 
(20 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting_Topics]]
#REDIRECT [[Magic Variables#this_2]]
 
 
<h2 style="color:#000066">'''_this''', '''this''' and '''thislist'''</h2>
 
 
'''_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).

Latest revision as of 18:20, 9 July 2020