(08-09-2014, 09:30 PM)Mudbill Wrote: Well, then you've done more changes because I tested the script myself and it loaded fine after these two changes.
Post the updated script.
Sorry, don't know what i added to mess it up, I don't remember adding an extra line. Here's the updated script:
void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Collide_Area", true, 1);
}
void Collide_Area (string &in asParent, string &in asChild, int alState)
{
SetEntityActive("corpse_male_1", true);
AddPropForce("corpse_male_1", -10000, 0, 0, "world");
PlaySoundAtEntity ("", "24_iron_maiden", "corpse_male_1", 0, false)
}
void OnEnter()
{
}
void OnLeave()
{
}
(08-09-2014, 09:30 PM)Mudbill Wrote: Well, then you've done more changes because I tested the script myself and it loaded fine after these two changes.
Post the updated script.