|
Tiberian Technologies Scripts Reference Revision: 9000
|
Turret Rotation Sound Effect. More...
#include <dp88_misc.h>
This script plays a 3d sound at a vehicles turret bone when that bone is being rotated and stops the sound when the rotation stops. The sound will be looped whilst the turret is being rotated.
| Sound_Preset | The name of a 3D sound preset to be played whilst the turret is rotating |
| Min_Differential_Rad | The minimum difference in the turret rotation, in radians, to be considered as "rotating", this helps to filter out tiny movements caused by driving along uneven terrain. |