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
Monsters Spawn in area
Putkimato Offline
Junior Member

Posts: 25
Threads: 8
Joined: Jun 2012
Reputation: 0
#1
Monsters Spawn in area

Im trying to make 3 monsters to spawn when i enter area, but it doesnt work.

void OnStart()
{

AddEntityCollideCallback("Player", "MorsoAlue", "Morsot", true, 1);
}

void Morsot(string &in asParent, string &in asChild, int alState)

{
SetEntityActive("1", true);
SetEntityActive("2", true);
SetEntityActive("3", true);
}

1, 2 and 3 are names of my monsters. MorsoAlue is name of the Area. Morsot is func. What is wrong?
06-06-2012, 04:53 PM
Find


Messages In This Thread
Monsters Spawn in area - by Putkimato - 06-06-2012, 04:53 PM
RE: Monsters Spawn in area - by lolboy9797 - 06-06-2012, 04:57 PM
RE: Monsters Spawn in area - by Putkimato - 06-06-2012, 05:00 PM
RE: Monsters Spawn in area - by lolboy9797 - 06-06-2012, 05:03 PM
RE: Monsters Spawn in area - by Putkimato - 06-06-2012, 05:07 PM
RE: Monsters Spawn in area - by lolboy9797 - 06-06-2012, 05:09 PM
RE: Monsters Spawn in area - by Putkimato - 06-06-2012, 05:14 PM
RE: Monsters Spawn in area - by lolboy9797 - 06-06-2012, 05:24 PM
RE: Monsters Spawn in area - by brute360 - 06-06-2012, 05:31 PM
RE: Monsters Spawn in area - by lolboy9797 - 06-06-2012, 05:39 PM
RE: Monsters Spawn in area - by Putkimato - 06-06-2012, 06:06 PM
RE: Monsters Spawn in area - by brute360 - 06-06-2012, 10:46 PM



Users browsing this thread: 2 Guest(s)