Code: Select all
FOUNDTARGETSOUND [Taunts\\Soldier_FoundTarget.wav]
.
.
.
// found a target to attack
FoundTarget[ ()
{
PlaySound(FOUNDTARGETSOUND);
DelTimerOrder(1); // get rid of alert timer
LowLevel(RUNFUNC); // attack functions are low level
} ]
Code: Select all
Scripts\GenericSoldier.s:FoundTarget:0-Method PlaySound not found*