Skip to content

sp_kill

Prototypevoid sp_kill(int active_sprite, int kill_time)

sp_kill() sets the kill_time value for the active_sprite.

After kill_time milliseconds have passed, the active_sprite will die. It will be deactivated (similar to setting the active_sprite's sp_active() value to 0).

If the active_sprite has a kill_time of 0 (default), the sprite will remain alive until killed by another means.