Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spencer Mansion
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#25
RE: Spencer Mansion / Need help with level door script

I scanned the script (in the .rar uploaded to mediafire)and found and changed a couple things, I haven't tested it out though, but try this...

void OnStart()
{
    AddUseItemCallback("", "keys_1", "mhb_d", "UseMHBedroom", true);
}

void UseMHBedroom(string &in asItem, string &in asEntity)
{
    SetLevelDoorLocked("mhb_d", false);
    PlaySoundAtEntity("", "unlock_door.snt", "mhb_d", 0.1f, false);
    RemoveItem(asItem);
}

Insanity. Static.
(This post was last modified: 07-18-2011, 01:38 AM by Juby.)
07-18-2011, 01:37 AM
Find


Messages In This Thread
Spencer Mansion - by AlexxShadenk777 - 07-02-2011, 04:59 PM
RE: Spencer Mansion / Need help with level door script - by Juby - 07-18-2011, 01:37 AM



Users browsing this thread: 1 Guest(s)