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
Any way to loop a AddEntityCollideCallback?
theabcs Offline
Junior Member

Posts: 5
Threads: 2
Joined: Apr 2012
Reputation: 0
#3
RE: Any way to loop a AddEntityCollideCallback?

(04-04-2012, 10:35 PM)stonecutter Wrote: check out !

AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);


It has nothing to do with your script yor callback gets deleted after one use ! Take a look at your "OnStart" and check you set the red market thing to false !

Well in my script i have a local variable that has to be added until it reaches a limit. Because of this, the script is already on false. Here is my parent function:

AddEntityCollideCallback("Player", "ScriptArea_5", "scare", false, 0);

So, my script works fine, until it is 100% activated and it is then unresponsive.

04-04-2012, 10:43 PM
Find


Messages In This Thread
RE: Any way to loop a AddEntityCollideCallback? - by theabcs - 04-04-2012, 10:43 PM



Users browsing this thread: 1 Guest(s)