shownArtilleryComputer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(replaced 'enabled' with 'open' in description to better clarify what the command does; added see also; basic example)
m (template:command argument fix)
Line 12: Line 12:
| '''shownArtilleryComputer''' |= Syntax
| '''shownArtilleryComputer''' |= Syntax


| [[Boolean]] |= RETURNVALUE
| [[Boolean]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[inRangeOfArtillery]], [[commandArtilleryFire]], [[doArtilleryFire]], [[getArtilleryETA]] |= SEEALSO
| [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[inRangeOfArtillery]], [[commandArtilleryFire]], [[doArtilleryFire]], [[getArtilleryETA]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:37, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

Syntax:
shownArtilleryComputer
Return Value:
Boolean

Examples

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

Additional Information

See also:
enableEngineArtillerygetArtilleryComputerSettingsinRangeOfArtillerycommandArtilleryFiredoArtilleryFiregetArtilleryETA

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