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
main (8,9) : ERR :Expected identifer Fatal error
Steveblockenstein Offline
Junior Member

Posts: 1
Threads: 1
Joined: Nov 2012
Reputation: 0
#1
main (8,9) : ERR :Expected identifer Fatal error

I got this Fatal Error that says this

FATAL ERROR: Could not load script file
'custom_stories/Cellar/maps/Somethingsoon.hps'!
main (8,9) : ERR : Expected identifer


My hps file looks like this

////////////////////////////
// Run when entering map
void OnEnter()
{
AddUseItemCallback("", "key_dungeon", "level_celler_1", UsedKeyOnDoor, true);
}

MyFunc(string &in asItem, string &in asEntity)
{
void SetSwingDoorLocked("level_celler_1", false, true);
void PlaySoundAtEntity("","unlock_door", "level_celler_1", 0, true);
RemoveItem(key_dungeon);
}

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

}
-Steveblockenstein
11-13-2012, 09:04 PM
Find


Messages In This Thread
main (8,9) : ERR :Expected identifer Fatal error - by Steveblockenstein - 11-13-2012, 09:04 PM



Users browsing this thread: 1 Guest(s)