Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
JFW_Timer_Destroy_Building Class Reference

Destroys a building by applying damage after a fixed period of time. More...

#include <jfwdmg.h>

Detailed Description

Author
jonwil

This script will apply 10,000 damage using the Explosive warhead to the object it is attached to after a specified number of seconds has elapsed, which is sufficient to destroy any standard building in Renegade.

Note
Although the script is intended for use with buildings it will actually work on any damagable game object
Precondition
Requires a warhead called Explosive to be defined in armor.ini. This is already present in stock versions of Renegade but may not exist in total conversion modifications.
Parameters
TimeNumber of seconds to wait before triggering
TimerNumInternal ID to use for the timer to avoid clashing with any other timers on the same object