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
Force player to follow enemy until it disappear help.
GoreGrinder99 Offline
Member

Posts: 166
Threads: 47
Joined: Feb 2013
Reputation: 1
#9
RE: Force player to follow enemy until it disappear help.

Games loads without crashing but nothing happens. These are all the scripts towards the follow enemy function. -



AddEntityCollideCallback("servant_grunt_1", "StareArea", "StopLook", false, 1);

^The above is in the void OnStart() area.



void LookedAt()
{
StartPlayerLookAt("servant_grunt_1", 1.0f, 1.0f, "LookedAt");
}

void StopLook(string &in par, string &in chi, int state)
{
StopPlayerLookAt();
}

^-The above is not in start, enter or exit area.

I made a script area that the monster will hit after about a second after spawn and renamed the script area in the editor and in the hps.

Am I still missing something?

-Grind to the Gore-
07-21-2013, 08:28 PM
Find


Messages In This Thread
RE: Force player to follow enemy until it disappear help. - by GoreGrinder99 - 07-21-2013, 08:28 PM



Users browsing this thread: 3 Guest(s)