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

setBurnTime()

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

 

Syntax

setBurnTime(player, time);

Parameters

ParameterTypeMandatoryNotesGame Version
playerNumber(tick)The player who's burn time should be changed.3.2
timeNumber(tick)The amount of time, in milliseconds, that the player's objects burn for when they catch fire.3.2

Return values

ValueTypeNotesGame Version
(question)(question)(question)3.2
<error>ErrorInvalid parameters.3.2

Example

// standard burn time is 10 seconds
setBurnTime(me, 10000);
Availability DEV

Requires:

  • Warzone 3.2 or above
Contents

Jump to:

See also

Related articles:

  • getBurnTime() – 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

Â