RE: How to do so Grunts poofs
getting up FATAL ERROR
main (46,1) :ERR :Unexpected end of file
void OnStart()
{
AddEntityCollideCallback("Player", "TeleportScript", "NailThatSucker", true, 1);
AddEntityCollideCallback("Player", "TeleportScript_2", "NailThatSucker_1", true, 1);
AddEntityCollideCallback("Player", "TeleportScript_3", "NailThatSucker_2", true, 1);
AddEntityCollideCallback("Player", "TeleportScript_4", "NailThatSucker_3", true, 1);
}
void NailThatSucker_1(string& asParent, string &in asChild, int alStates)
{
SetEntityActive("TeleportedNakedGuy_2", true);
AddPropForce("TeleportedNakedGuy_2", -20000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_2", 0, false);
}
void NailThatSucker(string& asParent, string &in asChild, int alStates)
{
SetEntityActive("TeleportedNakedGuy", true);
AddPropForce("TeleportedNakedGuy", -30000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy", 0, false);'
}
void NailThatSucker_2(string& asParent, string &in asChild, int alStates)
{
SetEntityActive("TeleportedNakedGuy_3", true);
AddPropForce("TeleportedNakedGuy_3", -20000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_3", 0, false);
}
void NailThatSucker_3(string& asParent, string &in asChild, int alStates)
{
SetEntityActive("TeleportedNakedGuy_4", true);
AddPropForce("TeleportedNakedGuy_4",0, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_4", 0, false);
}
|