Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't use my acid on web
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#5
Photo  RE: Can't use my acid on web

(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]

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 10-04-2012, 01:40 PM by Lizard.)
10-04-2012, 01:40 PM
Find


Messages In This Thread
Can't use my acid on web - by Lizard - 10-04-2012, 12:09 PM
RE: Can't use my acid on web - by Ongka - 10-04-2012, 12:32 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 12:41 PM
RE: Can't use my acid on web - by Ongka - 10-04-2012, 01:14 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 01:40 PM
RE: Can't use my acid on web - by The chaser - 10-04-2012, 01:49 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 01:51 PM
RE: Can't use my acid on web - by Your Computer - 10-04-2012, 02:03 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 02:10 PM
RE: Can't use my acid on web - by Your Computer - 10-04-2012, 02:15 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 02:18 PM
RE: Can't use my acid on web - by Your Computer - 10-04-2012, 02:40 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 02:43 PM
RE: Can't use my acid on web - by Your Computer - 10-04-2012, 02:56 PM
RE: Can't use my acid on web - by Lizard - 10-04-2012, 03:02 PM



Users browsing this thread: 1 Guest(s)