Other great resources: Official JS API docs, Scripting Forum
eventBeaconRemoved()
Owned by Aubergine
This event is triggered each time a beacon is removed.
Syntax
function eventBeaconRemoved(sender, to) { // do stuff }
Parameters
Parameter | Type | Mandatory | Description |
---|---|---|---|
sender | Number | The id of the player who sent the beacon. | |
to | Number Constant | The id of the player who received the beacon. Or ALLIES if sender sent to allies. |
Return value
Warzone does not process the event handler return value currently.
Notes
Only triggered when a script removes its beacon. Human beacons can't currently be removed by the human, they "expire" after a set amount of time.
Example
function eventBeaconRemoved(sender, to) { console("Player "+sender+"'s beacon was removed"); }
Availability 3.2+
Requires:
- Warzone 3.2 and above.
Contents
Jump to:
See also
Related API features:
- eventBeacon() – triggered when you receive a beacon
- addBeacon() – send a beacon to a player or allies
- removeBeacon() – remove beacons sent to a player or allies