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)
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#5
RE: How to make script "Drop lantern and pick it up"


(05-31-2011, 11:13 AM)Kyle Wrote: Yeah, basically.

And when the player picks it back up, you need to do this:

SetLanternDisabled(false);

So the player can use it again unless you want it to be broken somehow and the player not being able to pick it back up.

Okay but can you show simple script how i can do this?

When player walks the area, player gets scared and drop lantern accidentally then pick it up? Like i mean believable script.

“Life is a game, play it”
(This post was last modified: 05-31-2011, 11:25 AM by HumiliatioN.)
05-31-2011, 11:23 AM
Find


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



Users browsing this thread: 4 Guest(s)