$customHeader
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 object burns for.3.2

Return values

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

Example

// traditional 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

 

  • No labels