RE: My grunt hallucination is turned completely around and isn't running towards me
I'm trying to test out the script by having the guy look at one bottle and then another bottle! But he only looks at the first bottle! But he doesn't look at the second one! Here is the script
void OnStart()
{
AddEntityCollideCallback("Player", "Area_8", "start", true, 1);
AddEntityCollideCallback("Player", "Area_8", "start1", true, 1);
AddEntityCollideCallback("Player", "Area_8", "start2", true, 1);
}
void start(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("wine01_2", 30, 50, "");
AddTimer("fadein1", 1, "intro");
}
void intro(string &in asTimer)
{
StopPlayerLookAt();
RemoveTimer("fadein1");
}
void start1(string &in asTimer)
{
AddTimer("start_t2", 1, "start2");
}
void start2(string &in asTimer)
{
RemoveTimer("start_t2");
StartPlayerLookAt("wine01_23", 30, 50, "");
}
|