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
Slime Script ?
SilentHideButFine Offline
Member

Posts: 156
Threads: 38
Joined: May 2012
Reputation: 6
#1
Slime Script ?

Hello i have made the start for the Slime script when enter area the screen shakes and the sounds come (from the real game)

so far i got this

void OnStart()
{
AddEntityCollideCallback("Player", "LookAtWithText", "LookAtWithTextEvent", true, 1); //// Start Look at the blood on the floor
AddEntityCollideCallback("Player", "SlimeActivate", "SlimeActivateEvent", true, 1); ////Slimes is Activate
}
void LookAtWithTextEvent(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("human_skull_1", 5, 5, "");
AddTimer("", 1, "t1");
}
void t1(string &in asTimer)
{
StopPlayerLookAt();
}

void SlimeActivateEvent(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("slime_3way_1", true);
SetEntityActive("slime_pile_1", true);
SetEntityActive("slime_pile_large_1", true);
SetEntityActive("slime_6way_1", true);
SetEntityActive("slime_6way_2", true);
SetEntityActive("slime_6way_4", true);
SetEntityActive("slime_6way_3", true);
SetEntityActive("slime_pile_large_2", true);
SetEntityActive("slime_pile_large_3", true);

ANY IDEA HOW THE REST OF THE SCRIPT IS???


}

[url= http://www.moddb.com/mods/jessehmusic [/url] ,HOSPITAL OF HORROR MOD
05-22-2012, 05:36 PM
Find


Messages In This Thread
Slime Script ? - by SilentHideButFine - 05-22-2012, 05:36 PM
RE: Slime Script ? - by Obliviator27 - 05-22-2012, 06:15 PM
RE: Slime Script ? - by Prelauncher - 05-22-2012, 06:22 PM



Users browsing this thread: 1 Guest(s)