Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Define the base damage applied per second to burning objects... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
setBurnDamage(player, amount); |
Parameters
Parameter | Type | Mandatory | Notes | Game Version |
---|---|---|---|---|
player | Number | The player who's burn damage setting should be changed. | 3.2 | |
amount | Number | The amount of damage per second to apply to the player's objects when they are on fire. | 3.2 |
Return values
Value | Type | Notes | Game Version |
---|---|---|---|
3.2 | |||
<error> | Error | Invalid 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
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
// standard burn damage is 15 setBurnTimesetBurnDamage(me, 15); |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
See alsoRelated articles:
|