The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
goalreadymc
Unregistered

 
#1
Custom story crashes at this map: 03_hall.map

im testing my custom story and when i get to the map its crashes. i think ive done my scripting wrong. can anyone examine it?

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);
    RemoveItem("cellar_key");
}
[/align]
07-18-2014, 03:34 AM


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 goalreadymc - 07-18-2014, 09:52 PM



Users browsing this thread: 1 Guest(s)