01-26-2012, 10:30 PM
Hello. I am trying to get a voice to play when i walk past a certin point, but the voice is not working and I don't know what is wrong.
I have this in my hps file:
AddEntityCollideCallback("Player", "Harry_Speak", "Harry", true, 1);
void Harry(string &in asParent, string &in asChild, int alState)
{
AddEffectVoice("1_H", "", "flashbacks", "Wine_Storage", false, "", 0, 0);
AddTimer("", 5, "Harry2");
}
Please help!
I have this in my hps file:
AddEntityCollideCallback("Player", "Harry_Speak", "Harry", true, 1);
void Harry(string &in asParent, string &in asChild, int alState)
{
AddEffectVoice("1_H", "", "flashbacks", "Wine_Storage", false, "", 0, 0);
AddTimer("", 5, "Harry2");
}
Please help!