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
Node?
zatrix Offline
Junior Member

Posts: 37
Threads: 9
Joined: Feb 2011
Reputation: 0
#3
RE: Node?

(02-19-2011, 03:37 PM)junkfood2121 Wrote: Refer to http://www.frictionalgames.com/forum/thread-5117.html for monster spawns.

For patrol nodes, just place this code under your OnStart():
AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);

"asName" = Name of your monster.
"asNodeName" = Name of your patrolnode.
"afWaitTime" = I believe that's the time the monster stays at the node.
"asAnimation" = Not sure what it does but probably some animation for the monster. Just leave this blank.

And don't forget to place out nodes in your map. ^^

Thanks buddy, Smile
and its only under "OnStart(): ? Smile
and i have to give the node's name like all other things right? Smile
02-19-2011, 03:43 PM
Find


Messages In This Thread
Node? - by zatrix - 02-19-2011, 03:09 PM
RE: Node? - by Linus Ågren - 02-19-2011, 03:37 PM
RE: Node? - by zatrix - 02-19-2011, 03:43 PM
RE: Node? - by Linus Ågren - 02-19-2011, 03:47 PM
RE: Node? - by Ongka - 02-19-2011, 03:48 PM
RE: Node? - by zatrix - 02-19-2011, 05:37 PM



Users browsing this thread: 1 Guest(s)