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 What is this-> (string &in asParent, string &in asChild, int alState)?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#4
RE: What is this-> (string &in asParent, string &in asChild, int alState)?

(12-10-2012, 08:55 PM)4WalledKid Wrote:
(12-10-2012, 08:46 PM)The chaser Wrote: Oh, when you make an AddEntityCollideCallback you do this...
Hmm.. I got that one. What about this one?

(string &in asItem, string &in asEntity)
AddUseItemCallback("", "Itemname", "EntityUsed", "FUNC", true);

void FUNC (string &in asItem, string &in asEntity)
{

}

////FUNC is called when the item is used in the entity.


Basically, the parameters are the information of how does it receive the information, or that I think.
This will help you a lot:
http://www.frictionalgames.com/forum/thread-18368.html

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
12-10-2012, 09:01 PM
Find


Messages In This Thread
RE: What is this-> (string &in asParent, string &in asChild, int alState)? - by The chaser - 12-10-2012, 09:01 PM



Users browsing this thread: 1 Guest(s)