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
Script Help I need a help please
Red Offline
Posting Freak

Posts: 1,757
Threads: 49
Joined: Feb 2012
Reputation: 54
#16
RE: I need a help please

Key is not working? You have to use "AddUseItemCallback(string& asName, string& asItem, string& asEntity, string& asFunction, bool abAutoDestroy)", for it to work.
And for the syntax: "void YourFunction(string &in asItemA, string &in asItemB)"

asName - internal name for the callback
asItemA - internal name of first item
asItemB - internal name of second item
asFunction - the function to call
abAutoRemove - determines whether the callback should be removed when the items are combined

I would recommend to put the "AddUseItemCallback" script under OnStart() or OnEnter() section.
(This post was last modified: 05-15-2014, 02:56 PM by Red.)
05-15-2014, 02:46 PM
Find


Messages In This Thread
I need a help please - by Straxedix - 05-14-2014, 06:01 PM
RE: I need a help please - by Neelke - 05-14-2014, 06:11 PM
RE: I need a help please - by Straxedix - 05-14-2014, 06:18 PM
RE: I need a help please - by Neelke - 05-14-2014, 06:19 PM
RE: I need a help please - by Straxedix - 05-14-2014, 06:20 PM
RE: I need a help please - by Neelke - 05-14-2014, 06:21 PM
RE: I need a help please - by Straxedix - 05-14-2014, 06:22 PM
RE: I need a help please - by Neelke - 05-14-2014, 06:25 PM
RE: I need a help please - by Straxedix - 05-14-2014, 06:31 PM
RE: I need a help please - by Neelke - 05-14-2014, 06:35 PM
RE: I need a help please - by Straxedix - 05-14-2014, 06:50 PM
RE: I need a help please - by Statyk - 05-14-2014, 06:54 PM
RE: I need a help please - by Straxedix - 05-14-2014, 06:56 PM
RE: I need a help please - by Neelke - 05-14-2014, 08:49 PM
RE: I need a help please - by Straxedix - 05-15-2014, 09:35 AM
RE: I need a help please - by Red - 05-15-2014, 02:46 PM
RE: I need a help please - by Straxedix - 05-15-2014, 03:22 PM
RE: I need a help please - by Neelke - 05-15-2014, 03:50 PM
RE: I need a help please - by Traggey - 05-15-2014, 04:41 PM
RE: I need a help please - by Straxedix - 05-15-2014, 07:00 PM
RE: I need a help please - by Neelke - 05-15-2014, 08:13 PM
RE: I need a help please - by Straxedix - 05-15-2014, 08:14 PM
RE: I need a help please - by Neelke - 05-15-2014, 08:19 PM
RE: I need a help please - by Straxedix - 05-15-2014, 08:26 PM
RE: I need a help please - by Neelke - 05-15-2014, 09:04 PM



Users browsing this thread: 1 Guest(s)