Tripication
Member
Posts: 172
Threads: 19
Joined: Dec 2011
Reputation:
6
|
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">
(This post was last modified: 01-11-2012, 01:39 PM by Tripication.)
|
|
01-11-2012, 01:29 PM |
|