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???
}
|