BIS fnc dirIndicator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - " \| *(\[\[Script.+) * +\|x1=" to " |r1=$1 |x1=")
Line 34: Line 34:
|p4= sizeCoef: [[Number]] - (Optional, default 0.1045752 (command bar height)) size coefficient
|p4= sizeCoef: [[Number]] - (Optional, default 0.1045752 (command bar height)) size coefficient


| [[Script_(Handle)|Script handle]]
|r1=[[Script_(Handle)|Script handle]]


|x1= <code><nowiki>[</nowiki>[[player]], TheBoss, [0.706, 0.0745, 0.0196, 1]] [[call]] [[BIS_fnc_dirIndicator]];</code>
|x1= <code><nowiki>[</nowiki>[[player]], TheBoss, [0.706, 0.0745, 0.0196, 1]] [[call]] [[BIS_fnc_dirIndicator]];</code>

Revision as of 04:33, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
[origin, target, color, sizeCoef] call BIS_fnc_dirIndicator
Parameters:
origin: Object - origin, usually player
target: Code, String, Object or Position - to which indicator points to:
color: 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
Return Value:
Script handle

Examples

Example 1:
[player, TheBoss, [0.706, 0.0745, 0.0196, 1]] call BIS_fnc_dirIndicator;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note