Removing a combination item - 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: Removing a combination item (/thread-15203.html) |
Removing a combination item - Saren - 05-01-2012 Anyone known the RemoveItem for the hammer and chipper? I have tried stone_hammer_chipper and hammer_chipper with no luck.. RE: Removing a combination item - Your Computer - 05-01-2012 I'm going to guess you didn't give the item a name when you gave it to the player. RE: Removing a combination item - Saren - 05-01-2012 (05-01-2012, 03:10 PM)Your Computer Wrote: I'm going to guess you didn't give the item a name when you gave it to the player.Nope, it's default RE: Removing a combination item - Your Computer - 05-01-2012 (05-01-2012, 11:05 PM)Saren Wrote: Nope, it's default What is default? RE: Removing a combination item - Saren - 05-01-2012 (05-01-2012, 11:11 PM)Your Computer Wrote:The... default name.... did'nt change it.... sooo, you know it? Cause I've tried BOTH names in the inv.hps.... both FATAL ERRORED my hps(05-01-2012, 11:05 PM)Saren Wrote: Nope, it's default RE: Removing a combination item - Your Computer - 05-02-2012 (05-01-2012, 11:17 PM)Saren Wrote: The... default name.... did'nt change it.... sooo, you know it? Cause I've tried BOTH names in the inv.hps.... both FATAL ERRORED my hps The only way it would have a default name outside of the script is if it is an item you can pick up and set the name through the level editor. Let me see your GiveItem call. RE: Removing a combination item - Saren - 05-02-2012 (05-02-2012, 01:06 AM)Your Computer Wrote:GiveItem("stone_hammer_chipper", "Puzzle", "stone_hammer_chipper", "stone_hammer_chipper.tga", 0);(05-01-2012, 11:17 PM)Saren Wrote: The... default name.... did'nt change it.... sooo, you know it? Cause I've tried BOTH names in the inv.hps.... both FATAL ERRORED my hps RE: Removing a combination item - Your Computer - 05-02-2012 Don't place the callback in inventory.hps and "stone_hammer_chipper" is the item name. RE: Removing a combination item - Saren - 05-02-2012 (05-02-2012, 02:52 AM)Your Computer Wrote: Don't place the callback in inventory.hps and "stone_hammer_chipper" is the item name.No? okay.. and yea, I thought so, so it ain't me being stupid.. good! xD Thx dude |