IsRadarAreaFlashing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This | This function allows detection of whether a radar area is flashing or not. | ||
==Syntax== | ==Syntax== | ||
Line 10: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''radararea:''' The radar area you wish to check the state of flashing | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if | Returns ''true'' if the operation was successful, ''false'' otherwise. | ||
==Example== | ==Example== | ||
This example | This example checks whether the radar area 'glenpark' is flashing, and announces it if it is. | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
-- | if isRadarAreaFlashing ( glenpark ) == true --if glen park is flashing it | ||
outputChatBox ( "Glen Park is under attack!!!" ) -- anounce it | |||
end | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{ | {{Radar area functions}} |
Revision as of 18:40, 13 August 2006
This function allows detection of whether a radar area is flashing or not.
Syntax
bool isRadarAreaFlashing ( radararea radararea )
Required Arguments
- radararea: The radar area you wish to check the state of flashing
Returns
Returns true if the operation was successful, false otherwise.
Example
This example checks whether the radar area 'glenpark' is flashing, and announces it if it is.
if isRadarAreaFlashing ( glenpark ) == true --if glen park is flashing it outputChatBox ( "Glen Park is under attack!!!" ) -- anounce it end
See Also
- createRadarArea
- getRadarAreaColor
- getRadarAreaSize
- isInsideRadarArea
- isRadarAreaFlashing
- setRadarAreaColor
- setRadarAreaFlashing
- setRadarAreaSize