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)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Checks whether the player has the artillery computer currently enabled.  |= Description
| Checks whether the player has the artillery computer currently open.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 15: Line 15:




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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 17:52, 16 February 2014

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