BIS fnc dirIndicator: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 48: Line 48:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:dirIndicator}}]]
 
[[Category:Functions|{{uc:dirIndicator}}]]
[[Category:Functions|{{uc:dirIndicator}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:dirIndicator}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:dirIndicator}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:dirIndicator}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:dirIndicator}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:dirIndicator}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:dirIndicator}}]]

Revision as of 16:52, 10 October 2020

-wrong parameter ("globargument") defined!-LELocal
Hover & click on the images for description

Description

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.
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 - (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

Notes

Bottom Section