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
Custom story crashes at this map: 03_hall.map
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#2
RE: Custom story crashes at this map: 03_hall.map

PHP Code: (Select All)
void OnStart()
{
PlayMusic("09_amb_safe.ogg", true, 3, 3, 1, true);
AddUseItemCallback("", "cellar_key", "cellar_door", "UsedKeyOnDoor", true);
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
    
SetSwingDoorLocked("cellar_door", false, true);
    
PlaySoundAtEntity("", "unlock_door", "cellar_door", 0, false); //Mudbill told me to fix this :D
    
RemoveItem("cellar_key");
} 

That should fix it...

EDIT: Thanks Mudbill, fixed that :3

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 07-18-2014, 03:23 PM by Romulator.)
07-18-2014, 07:32 AM
Find


Messages In This Thread
Custom story crashes at this map: 03_hall.map - by goalreadymc - 07-18-2014, 03:34 AM
RE: Custom story crashes at this map: 03_hall.map - by Romulator - 07-18-2014, 07:32 AM
RE: Custom story crashes at this map: 03_hall.map - by goalreadymc - 07-18-2014, 09:52 PM



Users browsing this thread: 1 Guest(s)