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
Repeat Areas
TheGilgameshZocker Offline
Junior Member

Posts: 13
Threads: 11
Joined: Mar 2012
Reputation: 0
#1
Repeat Areas

Hi guys, I just wanted to ask you something. I have a part in my CS, where you have to escape from 2 water lurkers, but if you die, you have to do it from the beginning. The checkpoints work, that's no problem, but the script areas don't repeat their functions, so the monsters don't spawn again. I tried things like:

void OnEnter()
{
CheckPoint("lurker_trap","PlayerStartLurker", "Reload", "Hints", "DeathWaterLurker");

}


void Reload(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Area5", true);
SetEntityActive("Area6", true);
}

I think I have a suspicion what could be wrong. I think the (string &in...-stuff is wrong. But I don't get that stuff, so it would be nice, if you could tell me, what I have to write in there, and what this (string &in asEntity...-stuff means Tongue
05-17-2012, 06:16 PM
Find


Messages In This Thread
Repeat Areas - by TheGilgameshZocker - 05-17-2012, 06:16 PM
RE: Repeat Areas - by Rapture - 05-17-2012, 06:25 PM
RE: Repeat Areas - by Putmalk - 05-17-2012, 07:15 PM



Users browsing this thread: 1 Guest(s)