te_create_explosion
Creates an explosion.
Syntax
stock te_create_explosion(position[3], sprite, scale = 10, framerate = 30, flags = TE_EXPLFLAG_NONE, receiver = 0, bool:reliable = true) {
Usage
| sprite | The additive sprite index to use in the explosion |
| scale | The scale of the sprite in the explosion (0 - 255) |
| framerate | The frame rate to show the sprite at (0 - 255) |
| flags | Explosion flags: |
| receiver | Client index that will be able to see the explosion |
| reliable | If true, the message will be sent via the reliable |
Return
if "receiver" is non-zero and the client isn't connected,
Notes
A common sprite to use is "sprites/zerogxplode.spr"
Video preview of this and all other te_ stocks can be found here:
Defined in
msgstocks.inc
at line 805
.
This documentation was automatically generated from source.