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
Help Needed!
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#2
RE: Help Needed!

(08-20-2012, 03:57 PM)shadowZgamerZ Wrote: I have made a AddEntityCollideCallback with TRUE set at the end to remove callback. But when I go to other map and then return to this one and when I enter area AddEntityCollideCallback activates again. Callback is under OnEnter(), because you will enter this map several times, and you wont trigger Fuction on your first enter!

Q1: How do I set that it does not repeat after I come back from another map! And I don't wont it to be under OnStart(), because it cant be triggered then! Or is there remove callback function, because I didnt found one!



Q2: And if anyone have time to answer this: How to set, when doors are locked when interacted with message appears (This works), but after doors are unlocked when interacted, to message do not appear!


Sry for English!

The OnEnter() is for functions that trigger each time you enter the map. Try using OnStart(). It should trigger once, and that is it.

In the case that doesn't work, use this.

RemoveEntityCollideCallback(string& asParentName, string& asChildName);

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 08-20-2012, 04:09 PM by Robby.)
08-20-2012, 04:06 PM
Website Find


Messages In This Thread
Help Needed! - by shadowZgamerZ - 08-20-2012, 03:57 PM
RE: Help Needed! - by Robby - 08-20-2012, 04:06 PM
RE: Help Needed! - by shadowZgamerZ - 08-20-2012, 04:17 PM
RE: Help Needed! - by Robby - 08-20-2012, 04:31 PM



Users browsing this thread: 1 Guest(s)