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
Yet another script question
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Yet another script question

In your EntityInteractCallback, have SetEntityActive, then AddEnemyPatrolNode to the pathnode at the end of the path. He'll automatically follow pathnodes to get there. The monster will auto-disable when it gets a certain distance from the player. Worst case scenario, force a deactivate with a AddEntityCollideCallback and SetEntityActive.

02-18-2012, 10:39 PM
Find


Messages In This Thread
Yet another script question - by ammislol - 02-18-2012, 10:29 PM
RE: Yet another script question - by Obliviator27 - 02-18-2012, 10:39 PM
RE: Yet another script question - by ammislol - 02-18-2012, 10:44 PM
RE: Yet another script question - by Obliviator27 - 02-18-2012, 10:46 PM
RE: Yet another script question - by ammislol - 02-18-2012, 11:12 PM



Users browsing this thread: 1 Guest(s)