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
Keys & Doors
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#4
RE: Keys & Doors

you're using the wrong callback

it should be

AddUseItemCallback(string& asName, string& asItem, string& asEntity, string& asFunction, bool abAutoDestroy);

asName - internal name
asItem - internal name of the item
asEntity - entity to be able to use the item on
asFunction - function to call
abAutoDestroy - determines whether the item is destroyed when used


void MyFunc(string &in asItem, string &in asEntity)

"What you think is irrelevant" - A character of our time

A Christmas Hunt
(This post was last modified: 09-24-2012, 09:40 AM by i3670.)
09-24-2012, 09:39 AM
Find


Messages In This Thread
Keys & Doors - by Sinth - 09-24-2012, 07:22 AM
RE: Keys & Doors - by KH55 - 09-24-2012, 08:53 AM
RE: Keys & Doors - by Sinth - 09-24-2012, 09:04 AM
RE: Keys & Doors - by i3670 - 09-24-2012, 09:39 AM
RE: Keys & Doors - by The chaser - 09-24-2012, 01:34 PM
RE: Keys & Doors - by FlawlessHappiness - 09-24-2012, 03:32 PM



Users browsing this thread: 1 Guest(s)