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
Help With Custom Story Scripts
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#2
RE: Help With Custom Story Scripts

(07-11-2011, 03:39 PM)Lolnesia09 Wrote: Right, to begin with: my custon story .hps won't load due to a FATAL ERROR and this pops up every time I access it.
Secondly: the .lang file I put in is not working either Angry


Please help!
I'll put them up for download both my .hps and .lang files in .txt format so you can read them.

////////////////////////////
// Run first time starting map
void OnStart()
{
}

////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallBack("", "bigroomdoorkey", "bigroomdoor", UsedKeyOnDoor, true);
}

{
MyFunc(string &in asItem, string &in asEntity);
}

{
SetSwingDoorLocked("bigroomdoor", false, true);
RemoveItem("bigroomdoorkey");
}

{
SetEnemyEnabled("binladen", abEnabled);
}


////////////////////////////
// Run when leaving map
void OnLeave()
{
}

Try now. You have using wrong brackets and not spaces on them. It's fixed now.

“Life is a game, play it”
(This post was last modified: 07-11-2011, 04:00 PM by HumiliatioN.)
07-11-2011, 04:00 PM
Find


Messages In This Thread
RE: Help With Custom Story Scripts - by HumiliatioN - 07-11-2011, 04:00 PM
RE: Help With Custom Story Scripts - by SLAMnesia - 07-12-2011, 12:02 AM



Users browsing this thread: 1 Guest(s)