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
Problem with scripting monsters
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#7
RE: Problem with scripting monsters

I've tried the script:

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

void ActivateMonster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_grunt_2", true);
}

void OnEnter ()
{

}

void OnLeave()

{

}

It doesn't work. I think it's ok, what could be wrong?

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
07-02-2012, 07:17 PM
Find


Messages In This Thread
Problem with scripting monsters - by The chaser - 07-01-2012, 10:31 PM
RE: Problem with scripting monsters - by Cruzore - 07-01-2012, 10:41 PM
RE: Problem with scripting monsters - by EXAWOLT - 07-01-2012, 10:44 PM
RE: Problem with scripting monsters - by EXAWOLT - 07-02-2012, 06:53 PM
RE: Problem with scripting monsters - by The chaser - 07-02-2012, 07:17 PM
RE: Problem with scripting monsters - by Cruzore - 07-02-2012, 07:21 PM



Users browsing this thread: 1 Guest(s)