![]() |
[SOLVED]Use combined object on door? Mr. Noob wants some help - 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: [SOLVED]Use combined object on door? Mr. Noob wants some help (/thread-20795.html) |
[SOLVED]Use combined object on door? Mr. Noob wants some help - LankySpankey103 - 03-17-2013 Hey guys, I am having a little problem. I finally managed to combine my hammer and chipper into an item in my inventory, but when i then want it to i.e. unlock a door, it says "Cannot use the item this way". I would assume that it is the same code as using a key on a door ? Anyways, here is my code from both my inventory.hps and mapname.hps: Code: void OnGameStart() Code: void OnStart() Thanks in advance :-) RE: Use combined object on door? Mr. Noob wants some help - PutraenusAlivius - 03-17-2013 In your AddUseItemCallback, ignore the internal name. RE: Use combined object on door? Mr. Noob wants some help - LankySpankey103 - 03-17-2013 Thanks, but still doesn't work though ![]() EDIT: Well dag nammit. Apparently i had to restart the level editor, notepad++ and amnesia for it to work -.-' But thanks for the help! |