Can't use my acid on web - 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: Can't use my acid on web (/thread-18626.html) Pages:
1
2
|
RE: Can't use my acid on web - Lizard - 10-04-2012 (10-04-2012, 02:15 PM)Your Computer Wrote: What name did you give it?"glass_container_mix_done1" as used in the AddUseItemCallback Here is my full script as it is now: void OnEnter() { AddUseItemCallback("", "glass_container_1", "acid_container_1", "giveacid", true); AddUseItemCallback("", "glass_container_mix_done1", "ScriptArea_1", "burnweb", true); } void giveacid(string &in asItem, string &in asEntity) { RemoveItem("glass_container_1"); GiveItem("glass_container_mix_done1", "glass_container_mix_done1", "glasscontainermixdone", "glass_container_mix_done.tga", 1); } void burnweb(string &in asItem, string &in asEntity) { SetPropActiveAndFade("web_1", false, 3); } RE: Can't use my acid on web - Your Computer - 10-04-2012 Does anything else in the script work? Is the script area active? RE: Can't use my acid on web - Lizard - 10-04-2012 (10-04-2012, 02:40 PM)Your Computer Wrote: Does anything else in the script work? Is the script area active?the area is active and everything works fine, except the burnweb function RE: Can't use my acid on web - Your Computer - 10-04-2012 I tested your code and it seems "Puzzle" is required for the asType parameter for GiveItem. RE: Can't use my acid on web - Lizard - 10-04-2012 It works fine now Thanks man |