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.
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#10
RE: Force player to follow enemy until it disappear help.

Not sure about this, but the callback you set in OnStart, this...
AddEntityCollideCallback("servant_grunt_1", "StareArea", "StopLook", false, 1);

When the grunt hits 'StareArea', you are calling the function StopLook, which calls to StopPlayerLookAt()
If you're intention was to start the LookAt when the grunt hits StareArea, then the line should read

AddEntityCollideCallback("servant_grunt_1", "StareArea", "LookedAt", false, 1);
Because LookedAt is the function that calls to StartPlayerLookAt

07-22-2013, 03:38 PM
Find


Messages In This Thread
RE: Force player to follow enemy until it disappear help. - by Adrianis - 07-22-2013, 03:38 PM



Users browsing this thread: 1 Guest(s)