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
01.hps FATAL ERROR Help!! [FIXED]
theveeus Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jul 2012
Reputation: 0
#1
01.hps FATAL ERROR Help!! [FIXED]

Please someone help me, i cant get my map to open, i get this error "FATAL ERROR: Could not load script file 'custom_stories/Test/maps/01.hps(01 is the name of the .map file too)!' main (8,32): ERR : Expected data type"


////////////////////////////
// Run first time starting map
void OnEnter()
{
AddUseItemCallback("", "DoorKey_1", "EXAMPLE_DOOR", "UsedKeyOnDoor", true);
}
void MyFunc(string &in asItem, &in asEntity)
{
SetSwingDoorLocked("EXAMPLE_DOOR", false, true);
PlaySoundAtEntity("", "unlock_door", "EXAMPLE_DOOR", 0, false);
RemoveItem(DoorKey_1);
}

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

}

Thank you!!
(This post was last modified: 07-26-2012, 05:05 PM by theveeus.)
07-25-2012, 10:18 PM
Find


Messages In This Thread
01.hps FATAL ERROR Help!! [FIXED] - by theveeus - 07-25-2012, 10:18 PM
RE: 01.hps FATAL ERROR Help!! - by SilentStriker - 07-25-2012, 10:22 PM
RE: 01.hps FATAL ERROR Help!! - by Adny - 07-25-2012, 10:24 PM
RE: 01.hps FATAL ERROR Help!! - by theveeus - 07-25-2012, 11:18 PM



Users browsing this thread: 1 Guest(s)