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
Make Enemies disappear?
Schinki Offline
Junior Member

Posts: 2
Threads: 1
Joined: Jan 2012
Reputation: 0
#1
Make Enemies disappear?

Hello guys, first of all: I'm sorry if my English is bad Big Grin

I just started to create my first little Custom Story and I have already looked up for a script to spawn an enemy if you step on a script area. Now I want to go back, let the enemy step on another script area and make him disappear. Right now it looks like this:
"void OnStart()
{
AddEntityCollideCallback("Player" , "Schreck" , "MonsterFunc1" , true , 1);
}
void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
SetEntityActive("Monster1" , true);
}"

Could anyone please complete this script for me? I would be very thankful.
01-10-2012, 07:30 PM
Find


Messages In This Thread
Make Enemies disappear? - by Schinki - 01-10-2012, 07:30 PM
RE: Make Enemies disappear? - by Elven - 01-10-2012, 07:54 PM
RE: Make Enemies disappear? - by SilentStriker - 01-10-2012, 07:59 PM
RE: Make Enemies disappear? - by Elven - 01-10-2012, 08:18 PM
RE: Make Enemies disappear? - by Schinki - 01-10-2012, 08:34 PM
RE: Make Enemies disappear? - by Elven - 01-10-2012, 08:35 PM



Users browsing this thread: 1 Guest(s)