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
hps file, fatal error could not load script file
Conrad285 Offline
Junior Member

Posts: 13
Threads: 4
Joined: Aug 2014
Reputation: 0
#9
RE: hps file, fatal error could not load script file

(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.


Attached Files
.png   frictionalforum.png (Size: 71.26 KB / Downloads: 148)
(This post was last modified: 08-11-2014, 03:18 AM by Conrad285.)
08-11-2014, 02:49 AM
Find


Messages In This Thread
RE: hps file, fatal error could not load script file - by Conrad285 - 08-11-2014, 02:49 AM



Users browsing this thread: 2 Guest(s)