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 can I call a callback multiple times?
Magasztos Offline
Member

Posts: 54
Threads: 21
Joined: Jun 2012
Reputation: 0
#3
RE: How can I call a callback multiple times?

(07-12-2012, 02:55 PM)Ongka Wrote: Put a AddEntityCollideCallback or ItemCallback depending on what you want to do in the function you're calling.



e.g.



void OnStart

{

    AddEntityCollideCallback("Player", "AreaTest", "CollideTest", true, 1);

}



void CollideTest(string &in asParent, string &in asChild)

{

   AddEntityCollideCallback("Player", "AreaTest", "CollideTest", true, 1);

}

I think you got the idea now.




That's really clever :p
Thanks alot.

-Imre

~The Hulk is always greener on the other side~
07-12-2012, 02:57 PM
Find


Messages In This Thread
RE: How can I call a callback multiple times? - by Magasztos - 07-12-2012, 02:57 PM



Users browsing this thread: 1 Guest(s)