The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
triggering a monster area ERROR
timonenluca Offline
Junior Member

Posts: 18
Threads: 7
Joined: Oct 2011
Reputation: 0
#1
triggering a monster area ERROR

////////////////////////////
// Run when entering map
void OnEnter()
{
AddEntityCollideCallback("player","script_1","monster",true,1);
}

void monster(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_brute_1",true);

}
////////////////////////////
// Run when leaving map
void OnLeave()
{

}

It starts but when i go into the area (Script_1 it doesnt trigger Sad) can someone help me wiht this? im super new to scripting im learning it for about 10 min now but thanks for reading
08-06-2012, 06:41 PM
Find


Messages In This Thread
triggering a monster area ERROR - by timonenluca - 08-06-2012, 06:41 PM
RE: triggering a monster area ERROR - by Lizard - 08-06-2012, 06:53 PM



Users browsing this thread: 4 Guest(s)