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
ferryadams11 Offline
Junior Member

Posts: 17
Threads: 1
Joined: Apr 2011
Reputation: 0
#4
RE: Help With Custom Story Scripts

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

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("bigroomdoor", false, true);
RemoveItem("bigroomdoorkey");
SetEnemyEnabled("binladen", abEnabled);
}

////////////////////////////
//Run when entering map
void OnEnter()
{
}

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

That's about it, just add me on msn for any further questions.
P.S. I'm @ Spain on holiday now and I'm using internet wifi cards of the camping.

So I'll try to be on as much as possible (Hope to see your .hps file cleaner in the futur).

MSN: ferry_hooligan@live.nl

Regards,
Ferry Adams
(This post was last modified: 07-11-2011, 08:50 PM by ferryadams11.)
07-11-2011, 08:49 PM
Find


Messages In This Thread
RE: Help With Custom Story Scripts - by ferryadams11 - 07-11-2011, 08:49 PM
RE: Help With Custom Story Scripts - by SLAMnesia - 07-12-2011, 12:02 AM



Users browsing this thread: 1 Guest(s)