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?
Ongka Offline
Member

Posts: 225
Threads: 3
Joined: Nov 2010
Reputation: 20
#2
RE: How can I call a callback multiple times?

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.

[Image: 18694.png]
07-12-2012, 02:55 PM
Find


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



Users browsing this thread: 1 Guest(s)