ironman0001
Member
Posts: 53
Threads: 8
Joined: Sep 2012
Reputation:
0
|
RE: My grunt hallucination is turned completely around and isn't running towards me
(10-01-2012, 09:44 PM)ironman0001 Wrote: 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, "");
} Hello???
|
|
10-01-2012, 11:18 PM |
|