Script Handle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
{{Feature|arma3|In {{arma3}}:
{{Feature|arma3|In {{arma3}}:
* the handle's status can be checked with [[isNull]]
* the handle's status can be checked with [[isNull]]
* the handle can be accessed from whithin itself using {{ic|[[Magic Variables#thisScript|_thisScript]]}} (since {{GVI|arma3|1.54}})
* the handle can be accessed from whithin itself using <sqf inline>_thisScript</sqf> (since {{GVI|arma3|1.54}})
}}
}}



Latest revision as of 12:53, 18 July 2022

A Script Handle, used to identify scripts in script operations called using spawn or execVM. Introduced with ArmA: Armed Assault, does not refer to Operation Flashpoint or Operation Flashpoint: Resistance.

This handle's status can be checked with scriptDone, it can be terminated with terminate.

Arma 3
In Arma 3:
  • the handle's status can be checked with isNull
  • the handle can be accessed from whithin itself using _thisScript (since Arma 3 logo black.png1.54)


For more information about scripts and scripting, see Scripting Topics and Introduction to Arma Scripting.