(info) Other great resources: Official JS API docs, Scripting Forum

eventBeaconRemoved()

This event is triggered each time a beacon is removed.

 

Syntax

function eventBeaconRemoved(sender, to) {
  // do stuff
}

Parameters

ParameterTypeMandatoryDescription
senderNumber(tick)The id of the player who sent the beacon.
to

Number

Constant

(tick)

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: