sensor_tower

Vars | |
activate_time | Time it takes to start the activation |
---|---|
activated | True if the sensor tower has finished activation, used for minimap icon and preventing deactivation |
already_activated | Prevents there being more than one sensor tower being activated |
current_timer | The timer for when the sensor tower activates |
deactivate_time | Time it takes to stop the activation |
generate_time | Time it takes for the sensor tower to fully activate |
id | Count amount of sensor towers existing |
remaining_game_time | How long is left in the game end timer. Recorded as a var to pause the timer while tower is activating |
towerid | The id for the tower when it initializes, used for minimap icon |
Procs | |
attacker_interaction | Handles attacker interactions with the tower |
attacker_state_check | Checks whether an attack can currently activate this tower |
begin_activation | Starts timer and sends an alert |
deactivate | Stops timer if activating and sends an alert |
defender_interaction | Handles defender interactions with the tower |
finish_activation | When timer ends add a point to the point pool in sensor capture, increase game timer, and send an alert |
toggle_game_timer | Pauses or restarts the gamemode timer |
update_control_minimap_icon | Update minimap icon of tower if its deactivated, activated , and fully activated |
Var Details
activate_time

Time it takes to start the activation
activated

True if the sensor tower has finished activation, used for minimap icon and preventing deactivation
already_activated

Prevents there being more than one sensor tower being activated
current_timer

The timer for when the sensor tower activates
deactivate_time

Time it takes to stop the activation
generate_time

Time it takes for the sensor tower to fully activate
id

Count amount of sensor towers existing
remaining_game_time

How long is left in the game end timer. Recorded as a var to pause the timer while tower is activating
towerid

The id for the tower when it initializes, used for minimap icon
Proc Details
attacker_interaction
Handles attacker interactions with the tower
attacker_state_check
Checks whether an attack can currently activate this tower
begin_activation
Starts timer and sends an alert
deactivate
Stops timer if activating and sends an alert
defender_interaction
Handles defender interactions with the tower
finish_activation
When timer ends add a point to the point pool in sensor capture, increase game timer, and send an alert
toggle_game_timer
Pauses or restarts the gamemode timer
update_control_minimap_icon
Update minimap icon of tower if its deactivated, activated , and fully activated