Please help with my custom story hps file!!! - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Please help with my custom story hps file!!! (/thread-22017.html) |
Please help with my custom story hps file!!! - mrburritos31 - 07-04-2013 So ive been working on a custom story and my hps file wont work it crashes the game this is the file: void OnStart() ( AddUseItemCallback("OpenDoor", "key_study_1", "level_wood_1", "UnlockLevelDoor", true); ) void UnlockLevelDoor(string &in item, string &in entity) ( SetLevelDoorLocked(entity, false); ) Please help thanks! RE: Please help with my custom story hps file!!! - cruisy18 - 07-04-2013 You're not using the right kind of brackets in certain areas. Try this out. Code: void OnStart() RE: Please help with my custom story hps file!!! - mrburritos31 - 07-04-2013 (07-04-2013, 04:53 AM)cruisy18 Wrote: You're not using the right kind of brackets in certain areas. Try this out. THANK YOU SO MUCH It worked! |