11-13-2012, 09:04 PM
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
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