Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie needs help! [SOLVED]
pwnvader360 Offline
Junior Member

Posts: 11
Threads: 3
Joined: Jan 2011
Reputation: 0
#6
RE: Newbie needs help!

(01-12-2011, 06:45 PM)Seragath Wrote: I say try first, then ask later. Lets see if I can make it work anyway. (New and thirsty for scripting.)


void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Monster", true, 1);
}

void Monster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("NAME OF YOUR MONSTER" , true);
AddEnemyPatrolNode("NAME OF YOUR MONSTER", "NAME OF YOUR PATHNODE", 0, "");
}

Something like this ? O.O

For the pathnode script, do I make a script for every pathnode?
01-12-2011, 06:48 PM
Find


Messages In This Thread
Newbie needs help! [SOLVED] - by pwnvader360 - 01-12-2011, 06:37 PM
RE: Newbie needs help! - by Tottel - 01-12-2011, 06:39 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 06:45 PM
RE: Newbie needs help! - by Seragath - 01-12-2011, 06:45 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 06:48 PM
RE: Newbie needs help! - by Tottel - 01-12-2011, 06:47 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 07:26 PM
RE: Newbie needs help! - by Seragath - 01-12-2011, 06:52 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 07:45 PM
RE: Newbie needs help! - by Tottel - 01-12-2011, 07:45 PM
RE: Newbie needs help! - by Seragath - 01-12-2011, 08:34 PM
RE: Newbie needs help! - by pwnvader360 - 01-13-2011, 12:14 AM
RE: Newbie needs help! - by Seragath - 01-13-2011, 01:08 PM
RE: Newbie needs help! - by pwnvader360 - 01-13-2011, 06:21 PM



Users browsing this thread: 3 Guest(s)