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
[SCRIPT] ANOTHER ERROR UNEXPECTED END OF FILE!
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#2
RE: [SCRIPT] ANOTHER ERROR UNEXPECTED END OF FILE!

void func_slam(string &in asParent, string &in asChild, int alState)
{
SetPropHealth("basementdoor", 0.0f);
SetPropHealth("basementcorpse:, 0.0f);
PlaySoundAtEntity("", "scare_human_noises.snt", "Player", 0, false);
}

Missed the bracket in ("basementcorpse:, 0.0f;

Also, the </LANGUAGE> Is at the VERY END OF THE FILE. it means, stop using this file pretty much, like html. but you only need one </LANGUAGE>, and that is at the end.

Use This one below instead.


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
Your Name is Robert,You are Inside This strange House that you entered after hearing screams from inside. You walked into the basement but a gush of wind slammed the door shut and blew out every light except one you must try and escape!
</Entry>
</CATEGORY>
<CATEGORY Name="basementdoortext">
<Entry Name ="dooropen">
This Place Is Creepy I Need to get Out! Oh No where did all this water come from?
</Entry>
</CATEGORY>
</LANGUAGE>





EDIT
I missed one more thing.
With <Entry Name ="dooropen"> remove the Space between the "Name" and the "=" so you have this

<Entry Name="dooropen">

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 01-11-2012, 01:39 PM by Tripication.)
01-11-2012, 01:29 PM
Find


Messages In This Thread
RE: [SCRIPT] ANOTHER ERROR UNEXPECTED END OF FILE! - by Tripication - 01-11-2012, 01:29 PM



Users browsing this thread: 1 Guest(s)