|
Tiberian Technologies Scripts Reference Revision: 9000
|
This script makes for a rather cruddy emulation of sound_heard on a dedicated server. The script
\ must be attached to a soldier which can emulate sounds and only notifies to scripts on other objects. \DefaultCrouchMoveSoundID - ID of the footstep sound for crouched movement (I used a dirt sound) \DefaultWalkMoveSoundID - ID of the footstep sound for walk movement (I used a dirt sound) \DefaultRunMoveSoundID - ID of the footstep sound for run movement (I used a dirt sound) \UpdateRate - How often to check if the attached soldier is moving or firing (I used 0.1 by default)
More...
#include <jmgUtility.h>