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
Script Help [SOLVED] Disappear
Straxedix Offline
Senior Member

Posts: 426
Threads: 52
Joined: Mar 2014
Reputation: 5
#1
[SOLVED] Disappear

Hello.

I have one problem,with my script.

There is no error found or anything but it just doesn't work...

Spoiler below!
PHP Code: (Select All)
void OnStart()
{
SetPlayerRunSpeedMul(0);
AddEntityCollideCallback("Player""Look""LookMonsterIsComming"true1);
}
void LookMonsterIsComming(string &in asParentstring &in asChildint alState)
{
SetPlayerActive(false);
StartPlayerLookAt("Billboard_1"225"CallbackName");
AddTimer(""5"Monsters");
}

void Monsters(string &in asTimer)
{
SetEntityActive("Infected001"true);
AddTimer(""3"Monsters1");
}

void Monsters1(string &in asTimer)
{
SetEntityActive("Infected001"false);
AddTimer(""3"Monsters2");
}

void Monsters2(string &in asTimer)
{
SetEntityActive("Infected002"true);
AddTimer(""3"Monsters3");
}

void Monsters3(string &in asTimer)
{
SetEntityActive("Infected002"false);
AddTimer(""3"Monsters4");
}

void Monsters4(string &in asTimer)
{
SetEntityActive("Infected003"true);
AddTimer(""3"Monsters5");
}

void Monsters5(string &in asTimer)
{
SetEntityActive("Infected003"false);
AddTimer(""3"Monsters6");
}

void Monsters6(string &in asTimer)
{
SetEntityActive("Infected004"true);
AddTimer(""3"Monsters7");
}

void Monsters7(string &in asTimer)
{
SetEntityActive("Infected004"false);
AddTimer(""3"Monsters8");
}

void Monsters8(string &in asTimer)
{
SetEntityActive("Infected005"true);
AddTimer(""3"Monsters9");
}

void Monsters9(string &in asTimer)
{
SetEntityActive("Infected005"false);
AddTimer(""3"Monsters10");
}

void Monsters10(string &in asTimer)
{
SetEntityActive("Infected006"true);
AddTimer(""3"Monsters11");
}

void Monsters11(string &in asTimer)
{
SetEntityActive("Infected006"false);
AddTimer(""3"Monsters12");
}

void Monsters12(string &in asTimer)
{
SetEntityActive("Infected007"true);
StopPlayerLookAt();
SetPlayerActive(true);
}



(This post was last modified: 09-20-2014, 08:46 AM by Straxedix.)
09-20-2014, 07:30 AM
Find


Messages In This Thread
[SOLVED] Disappear - by Straxedix - 09-20-2014, 07:30 AM
RE: Disappear - by Radical Batz - 09-20-2014, 07:34 AM
RE: Disappear - by Straxedix - 09-20-2014, 07:37 AM
RE: Disappear - by Radical Batz - 09-20-2014, 07:39 AM
RE: Disappear - by Straxedix - 09-20-2014, 07:48 AM
RE: Disappear - by Radical Batz - 09-20-2014, 08:00 AM
RE: Disappear - by Straxedix - 09-20-2014, 08:06 AM
RE: Disappear - by Radical Batz - 09-20-2014, 08:08 AM
RE: Disappear - by Straxedix - 09-20-2014, 08:09 AM
RE: Disappear - by Radical Batz - 09-20-2014, 08:10 AM
RE: Disappear - by Straxedix - 09-20-2014, 08:25 AM
RE: Disappear - by Radical Batz - 09-20-2014, 08:27 AM
RE: Disappear - by Straxedix - 09-20-2014, 08:30 AM
RE: Disappear - by Radical Batz - 09-20-2014, 08:44 AM
RE: Disappear - by Straxedix - 09-20-2014, 08:45 AM



Users browsing this thread: 1 Guest(s)