shownArtilleryComputer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<sqf>([^ ]+) <\/sqf>" to "<sqf>$1</sqf>")
m (Some wiki formatting)
 
Line 12: Line 12:
|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <sqf>if ( '''shownArtilleryComputer''' ) then { hint "Artillery Computer shown on screen"; };</sqf>
|x1= <sqf>if (shownArtilleryComputer) then { hint "Artillery Computer shown on screen"; };</sqf>


|seealso= [[enableEngineArtillery]] [[getArtilleryComputerSettings]] [[inRangeOfArtillery]] [[commandArtilleryFire]] [[doArtilleryFire]] [[getArtilleryETA]]
|seealso= [[enableEngineArtillery]] [[getArtilleryComputerSettings]] [[inRangeOfArtillery]] [[commandArtilleryFire]] [[doArtilleryFire]] [[getArtilleryETA]]
}}
}}

Latest revision as of 16:31, 13 May 2022

Hover & click on the images for description

Description

Description:
Checks whether the player has the artillery computer currently open.
Groups:
Artillery

Syntax

Syntax:
shownArtilleryComputer
Return Value:
Boolean

Examples

Example 1:
if (shownArtilleryComputer) then { hint "Artillery Computer shown on screen"; };

Additional Information

See also:
enableEngineArtillery getArtilleryComputerSettings inRangeOfArtillery commandArtilleryFire doArtilleryFire getArtilleryETA

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