| FATAL ERROR....EXPECTED '{' 
 
				HIHEELP ME
 This is my hps text
 
 ////////////////////////////
 // Run when starting map
 void OnStart()
 {
 AddEntityCollideCallback("Player", "Music", "StartMusic", true, 1);
 SetEntityPlayerInteractCallback("potion_oil_1", "Roar1", true);
 SetEntityPlayerInteractCallback("potion_health_1", "Roar2", true);
 SetEntityPlayerInteractCallback("note_manual", "prison_1", true);
 AddEntityCollideCallback("Player", "DoorExplode", "CollideDoorExplode", true, 1);
 AddUseItemCallback("", "key_1", "mansion_2", "KeyOnDoor", true);
 }
 void KeyOnDoor(string &in asItem, string &in asEntity)
 {
 SetSwingDoorLocked("mansion_2", false, true);
 PlaySoundAtEntity("", "unlock_door", "mansion_2", 0, false);
 RemoveItem("key_1");
 }
 void StartMusic(string &in asParent, string &in asChild, int alState)
 {
 PlayMusic("02_amb_safe.ogg", true, 0.8, 2, 1, true);
 }
 void Roar1(string &in Entity)
 {
 PlaySoundAtEntity("Roar1", "grunt/amb_alert.snt", "Roar1", 0, false);
 }
 void Roar2(string &in Entity)
 {
 PlaySoundAtEntity("Roar2", "explosion_rock_large.snt", "Roar2", 0, false);
 }
 void prison_1(string &in Entity)
 {
 PlaySoundAtEntity("prison_1", "break_wood_metal.snt", "prison_1", 0, false);
 }
 
 void CollideDoorExplode(string &in asParent, string &in asChild, int alState)
 {
 SetEntityActive("DoorExplode1", false);
 SetEntityActive("DoorExploded", true);
 CreateParticleSystemAtEntity("", "ps_break_wood.ps", "DoorExplodeParticle", false);
 PlaySoundAtEntity("", "break_wood.snt", "DoorExplodeParticle", 0, false);
 }
 
 ////////////////////////////
 // Run when leaving map
 void OnLeave()
 
 
 
 
 
 
 AND I HAVE THIS FATAL ERROR: FATAL ERROR: Could not load script file 'custom_story/THE DARK PINK/custom_stories/THE DARK PINK/maps/THE DARK PINK.hps,! main (46,1) : ERR :Expected '{'
 |