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
Touch an entity/item and something is triggered?
drunkmonk Offline
Member

Posts: 109
Threads: 7
Joined: Jun 2012
Reputation: 4
#2
RE: Touch an entity/item and something is triggered?

For the most part when you want something to happen when the player picks up an item, its basically the same concept you just need to use SetEntityPlayerInteractCallback("Name_of_Tinderbox", "Function", false);

Edit: the callback syntax is(string &in asEntity)
(This post was last modified: 07-16-2012, 02:07 PM by drunkmonk.)
07-16-2012, 02:05 PM
Find


Messages In This Thread
RE: Touch an entity/item and something is triggered? - by drunkmonk - 07-16-2012, 02:05 PM



Users browsing this thread: 1 Guest(s)