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

getBurnTime()

Define how long units burn for when they catch fire...

 

Syntax

var time = getBurnTime(player);

Parameters

ParameterTypeMandatoryNotesGame Version
playerNumber(tick)The player to inspect.3.2

Return values

ValueTypeNotesGame Version
<time>NumberThe player's current burn time setting, in milliseconds.3.2
<error>ErrorInvalid parameters.3.2

Example

var time = getBurnTime(me);
Availability DEV

Requires:

  • Warzone 3.2 or above
Contents

Jump to:

See also

Related articles:

  • setBurnTime() – get the current burn time setting for a player
  • setBurnDamage() – define the amount of damage a burning object receives
  • getBurnDamage() – get the current burn damage setting for a player

Â