![]() |
Script Problem .HPS key/crowbar - 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: Script Problem .HPS key/crowbar (/thread-13797.html) |
Script Problem .HPS key/crowbar - wagiwombledog - 03-06-2012 Hi, I'm having a scripting problem with my .HPS file. It involves opening two separate doors with 1. a crowbar, and 2. a key. Extra Info: my map is called Dugeion (I know), my key is called Prison Key my door is called Prison Door(Key). My crowbar is called crowbar_1 my door is called prison_1(crowbar). Here is the text(Crowbar). Code: //////////////////////////// and for key Code: //////////////////////////// Hopefully you can help, -wagiwombledog RE: Script Problem .HPS key/crowbar - flamez3 - 03-06-2012 It would be alot easier if you could actually tell us what the problem is. Rather than us trying to figure out what your problem is. RE: Script Problem .HPS key/crowbar - pandasFTW - 03-06-2012 can you tell us what the problem is??? i have some descent experience with crowbar puzzles ![]() RE: Script Problem .HPS key/crowbar - wagiwombledog - 03-07-2012 Hello, my problem for crowbar is, it interacts (sticks out of the side of the door) but when I pull it sideways (either way)... nothing happens. My problem with the key is, when the key's script is added to the .HPS file the custom story gets an error message and Amnesia shuts down :(. But it starts fine without the script. RE: Script Problem .HPS key/crowbar - flamez3 - 03-07-2012 For the crowbar, I think it would be easier if you either set another door active that is open and deactive the one you are trying to open. Or just use SetPropHealth instead. For the key: You forgot the "" around the Prison Key in the RemoveItem function. RE: Script Problem .HPS key/crowbar - wagiwombledog - 03-07-2012 Thanks every one! this has been a great help! |