Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My grunt hallucination is turned completely around and isn't running towards me
ironman0001 Offline
Member

Posts: 53
Threads: 8
Joined: Sep 2012
Reputation: 0
#18
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, "");
}
10-01-2012, 09:44 PM
Find


Messages In This Thread
RE: My grunt hallucination is turned completely around and isn't running towards me - by ironman0001 - 10-01-2012, 09:44 PM



Users browsing this thread: 4 Guest(s)