(01-13-2011, 02:22 AM)Tottel Wrote: <Entry Name="Description">
Mr Test!
</Entry>
OMG THANK YOU! But now I get a FATAL ERROR when I start the map. Error is
FATAL ERROR! Could not load script file 'custom_stories/Test/maps/ch01/Race_Beta03.hps'!
main (9,1) : ERR : Expected "," or ";"
main (11,22) : ERR : Expected identifier
main (12, 15) : ERR : Expected indentifier
main (13,1) : ERR : Unexpected token '{'
My Race_Beta3.hps
Spoiler below!
////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "rockingkey_1", "castle_1", "UsedKeyOnDoor", true) ;
}
void UsedKeyOnDoor("rockingkey_1", "castle_1")
}
SetSwingDoorLocked("castle_1", false, true) ;
PlaySoundAtEntity("", "unlock_door", "castle_1", 0, false) ;
RemoveItem("rockingkey_1") ;
{
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.