Jump to content
Sign in to follow this  
viperSniper

Reserved Variables

Recommended Posts

Does anyone know of a list of Reserved Variables and how to correctly use them. i.e., _target, _time,...

I have searched the forums extensively and I only seem to come up with references to them.

Share this post


Link to post
Share on other sites

Only one I've used so far and know of is _this

_this holds an array of arguments passed to a function/file

Example:

["Hello",Name Player] ExecVM "myTestScript.sqf";

//myTestScript.sqf

hint format ["%1 %2",_this select 0, _this select 1];

This is the only thing I could find: http://community.bistudio.com/wiki/Magic_Variables , but I don't know if you've already seen it.

Share this post


Link to post
Share on other sites

if you use the latest version of arma edit with update it shows all variables and commands highlighted when you type them.

Share this post


Link to post
Share on other sites
if you use the latest version of arma edit with update it shows all variables and commands highlighted when you type them.

But where did the author of that find detailed information of the Reserved/Magical variables?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×