BIS_fnc_dirIndicator
- Global argument
- Local effect
- Arma 3 v0.50
- First in Arma 2: Operation Arrowhead v1.56
Function · Markdown · JSON · original wiki page
Description
Show a 4-directions indicator.
Indicator GUI layer is 17, its Display is accessible with uiNamespace getVariable "BIS_RscMissionScreen_dirIndicator".
Can be reexecuted to change its colour, but once executed this function cannot be halted until origin's death.
Syntax
[origin, target, color, sizeCoef] call BIS_fnc_dirIndicator
Parameters:
origin: Object - origin, usually playertarget: Code, String, Object or Array format Position - to which indicator points to:color: Array format Color (RGBA) - (Optional, default [0.424,0.651,0.247,1] (Arma 2 green))sizeCoef: Number - (Optional, default 0.1045752 (command bar height)) size coefficient
Returns: Script Handle
Examples
Example 1
[player, TheBoss, [0.706, 0.0745, 0.0196, 1]] call BIS_fnc_dirIndicator;