GSC reference › Built-in
SetBurn()
Built-in (engine)
Server
Called on: entity
Set the entity burning for the given time
Signature
<entity> SetBurn(<time>)
Called on an entity: entity SetBurn(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| time | Required | Time to burn for ( greater than 0 ) |
Example (from Treyarch's docs)
self SetBurn( 3.0 )
Real uses in BO3's scripts
Called 13 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_traps.gsc, line 806
self setburn(1.25); - scripts/zm/_zm_turned.gsc, line 127
self setburn(0); - scripts/zm/gametypes/_globallogic_player.gsc, line 1133
self setburn(0); - scripts/shared/gameskill_shared.gsc, line 459
self setburn(0.5); - scripts/shared/visionset_mgr_shared.csc, line 1001
setburn(localclientnum, 0);
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).