(01-11-2012, 01:51 PM)flamez3 Wrote: void StartEffectEmotionFlash("basementdoortext","dooropen","00_laugh.snt")
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}
You haven't used a callback for that; and you are using strings in syntax's. When do you want the StartEffectMotionFlash to happen?
I want the Emotion flash and sound to play when i enter the basementdoorsmash area .
then i want it so water fills that room to your knees. What code could you use to enable a liquid area when you walk into the "basementdoorsmash" script area i'll call the liquid area "basementwater" .
Sorry But it didnt work It came up with an error in the .hps file
(21,30) : ERR : Expected data type
void StartEffectEmotionFlash("basementdoortext", "dooropen", "00_laugh.snt")
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
}
/////////////////////////////
on void StartEffectEmotionFlash at the (" part ?