Hello,
I'm new to making custom stories. I want to have a script so when timer is done, a door opens and the monster is following the path that I marked. Can anyone please help me?
AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);
asName = Name of monster
asNodeName = Name of your node
afWaitTime = Time the monster will wait at the node
asAnimation = Sounds to me like it's what animation he shall make, idk what it is really.
Example:
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "");
(03-19-2011, 06:18 PM)junkfood2121 Wrote: [ -> ]AddEnemyPatrolNode(string& asName, string& asNodeName, float afWaitTime, string& asAnimation);
asName = Name of monster
asNodeName = Name of your node
afWaitTime = Time the monster will wait at the node
asAnimation = Sounds to me like it's what animation he shall make, idk what it is really.
Example:
AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "");
one question, is the time in milliseconds, seconds or minutes?
Seconds
5.5f is 5.5seconds