shownArtilleryComputer: Difference between revisions
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]] |= | | [[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>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[inRangeOfArtillery]], [[commandArtilleryFire]], [[doArtilleryFire]], [[getArtilleryETA]] |= | | [[enableEngineArtillery]], [[getArtilleryComputerSettings]], [[inRangeOfArtillery]], [[commandArtilleryFire]], [[doArtilleryFire]], [[getArtilleryETA]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
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