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
How to make script "Drop lantern and pick it up" (Solved)
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: How to make script "Drop lantern and pick it up"

To remove it requires a combination of things to happen.

SetLanternActive(false, true);
SetLanternDisabled(true);
RemoveItem("lantern");

I don't know what you mean to pick it up, but you just simply set the second one active.

SetEntityActive("lantern_2", true);

05-31-2011, 11:04 AM
Find


Messages In This Thread
RE: How to make script "Drop lantern and pick it up" - by Kyle - 05-31-2011, 11:04 AM



Users browsing this thread: 1 Guest(s)