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
Patrol Nodes don't work on spawned enemy
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#4
RE: Patrol Nodes don't work on spawned enemy

The whole code would be nice, as there might be an error there, too.

Actually, you said the debug message was showing, so nevermind.

1. Is there a mapcache, if so, delete it.
2. Is the grunt called "servant_grunt"?
3. Are the pathnodes correctly named?

I guess the servant is called grunt, I see you generated it via CreateEntityAtArea.

Maybe that may be an answer, try creating an enemy in the editor, setting Active off, and then using "SetEntityActive("servant_grunt", true);" in the script.

(This post was last modified: 04-10-2012, 08:34 PM by Putmalk.)
04-10-2012, 08:30 PM
Find


Messages In This Thread
RE: Patrol Nodes don't work on spawned enemy - by Putmalk - 04-10-2012, 08:30 PM



Users browsing this thread: 1 Guest(s)