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
Monster Triggering problem
Niko Offline
Junior Member

Posts: 4
Threads: 1
Joined: May 2012
Reputation: 0
#9
RE: Monster Triggering problem

(05-25-2012, 09:02 PM)Aresak Wrote: So, you can't active 4 grunts true?
Change name to anything what you want... I named it Monster1, Monster2, Monster3, Monster4 ok?
I see on you image ScriptArea, when player go in, the monsters are must activate ok?
Script Area name: ScriptArea_1

This is script:

PHP Code: (Select All)
void OnStart() 



AddEntityCollideCallback("Player""ScriptArea_1""MonsterFunction"true1); 





void MonsterFunction(string &in asParentstring &in asChildint alState)

{

SetEntityActive("Monster1"true); 
SetEntityActive("Monster2"true); 
SetEntityActive("Monster3"true); 
SetEntityActive("Monster4"true); 

ShowEnemyPlayerPosition("Monster1");
ShowEnemyPlayerPosition("Monster2");
ShowEnemyPlayerPosition("Monster3");
ShowEnemyPlayerPosition("Monster4");

}

void OnEnter()
{

}

void OnLeave()
{



Maybe it will be function Big Grin
tyvm for making script but it works already, i appreciate that still
(This post was last modified: 05-27-2012, 03:28 PM by Niko.)
05-27-2012, 03:28 PM
Find


Messages In This Thread
Monster Triggering problem - by Niko - 05-25-2012, 01:47 PM
RE: Monster Triggering problem - by Datguy5 - 05-25-2012, 01:52 PM
RE: Monster Triggering problem - by Putmalk - 05-25-2012, 05:16 PM
RE: Monster Triggering problem - by Niko - 05-25-2012, 05:23 PM
RE: Monster Triggering problem - by Putmalk - 05-25-2012, 05:50 PM
RE: Monster Triggering problem - by Niko - 05-25-2012, 06:09 PM
RE: Monster Triggering problem - by Adny - 05-25-2012, 07:07 PM
RE: Monster Triggering problem - by Aresak - 05-25-2012, 09:02 PM
RE: Monster Triggering problem - by Niko - 05-27-2012, 03:28 PM



Users browsing this thread: 3 Guest(s)