Module MissileTrainer
Provides missile training functions.
Global(s)
| MISSILETRAINER |
Type MISSILETRAINER
Global(s)
Type MissileTrainer
Type MISSILETRAINER
The MISSILETRAINER class
Field(s)
- #string MISSILETRAINER.ClassName
- MISSILETRAINER:InitAlertsHitsOnOff(AlertsHitsOnOff)
-
Sets by default the display of hit alerts ON or OFF.
Parameter
-
#boolean AlertsHitsOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitAlertsLaunchesOnOff(AlertsLaunchesOnOff)
-
Sets by default the display of launch alerts ON or OFF.
Parameter
-
#boolean AlertsLaunchesOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitAlertsToAll(AlertsToAll)
-
Sets by default the display of alerts to be shown to all players or only to you.
Parameter
-
#boolean AlertsToAll: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitBearingOnOff(DetailsBearingOnOff)
-
Sets by default the display of bearing information of missiles ON of OFF.
Parameter
-
#boolean DetailsBearingOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitMenusOnOff(MenusOnOff)
-
Enables / Disables the menus.
Parameter
-
#boolean MenusOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitMessagesOnOff(MessagesOnOff)
-
Sets by default the display of any message to be ON or OFF.
Parameter
-
#boolean MessagesOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitRangeOnOff(DetailsRangeOnOff)
-
Sets by default the display of range information of missiles ON of OFF.
Parameter
-
#boolean DetailsRangeOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitTrackingFrequency(TrackingFrequency)
-
Increases, decreases the missile tracking message display frequency with the provided time interval in seconds.
The default frequency is a 3 second interval, so the Tracking Frequency parameter specifies the increase or decrease from the default 3 seconds or the last frequency update.
Parameter
-
#number TrackingFrequency: Provide a negative or positive value in seconds to incraese or decrease the display frequency.
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitTrackingOnOff(TrackingOnOff)
-
Sets by default the display of missile tracking report to be ON or OFF.
Parameter
-
#boolean TrackingOnOff: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:InitTrackingToAll(TrackingToAll)
-
Sets by default the missile tracking report for all players or only for those missiles targetted to you.
Parameter
-
#boolean TrackingToAll: true or false
Return value
#MISSILETRAINER: self
-
- MISSILETRAINER:New(Distance)
-
Creates the main object which is handling missile tracking.
When a missile is fired a SCHEDULER is set off that follows the missile. When near a certain a client player, the missile will be destroyed.
Parameter
-
#number Distance: The distance in meters when a tracked missile needs to be destroyed when close to a player.
Return value
-
- MISSILETRAINER:_AddBearing(Client, TrainerWeapon)
-
Parameters
-
Client: -
TrainerWeapon:
-
- MISSILETRAINER:_AddRange(Client, TrainerWeapon)
-
Parameters
-
Client: -
TrainerWeapon:
-
- MISSILETRAINER:_EventShot(Event)
-
Detects if an SA site was shot with an anti radiation missile.
In this case, take evasive actions based on the skill level set within the ME.
Parameter
-
Event#EVENTDATA Event:
-
- MISSILETRAINER._MenuMessages(MenuParameters)
-
Parameter
-
MenuParameters:
-