(10-04-2012, 01:14 PM)Ongka Wrote: Create an area instead and place it on the web. You have to tick the box which says "ItemInteraction" and use the item on the script area. This should work fine.
Is still say "Cannot use this item this way"
This is what i have 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", "glasscontainermixdone", "glass_container_mix_done.tga", 1);
}
void burnweb(string &in asItem, string &in asEntity)
{
SetPropActiveAndFade("web_1", false, 3);
}
picture of web and area:
[attachment=3411]