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

setBurnDamage()

Define the base damage applied per second to burning objects...

 

Syntax

setBurnDamage(player, amount);

Parameters

ParameterTypeMandatoryNotesGame Version
playerNumber(tick)The player who's burn damage setting should be changed.3.2
amountNumber(tick)The amount of damage per second to apply to the player's objects when they are on fire.3.2

Return values

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

Notes

This setting affects the base damage applied per second. Modifiers such as flamer upgrades, etc., will multiply this setting to apply more damage per second.

Thermal armour upgrades reduce the amount of damage an object actually receives.

Example

// standard burn damage is 15
setBurnDamage(me, 15);
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
  • setBurnTime() – set the amount of time a player's objects burn for when they catch fire
  • getBurnDamage() – get the current burn damage setting for a player