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 Callback func doesn't get called after enemy leaves area
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Callback func doesn't get called after enemy leaves area

I'm not too experienced with scripting, but it feels like you're over complicating things. Why not use:

bool GetEntitiesCollide(string& asEntityA, string& asEntityB); + an if/else statement


If true set it block box inactive, if else set active? Seems like the most direct way, you'd just have to type out the functions for each wall (again, sorry if I missed the point of this, I'm not a very experienced scripter).

I rate it 3 memes.
05-24-2012, 12:57 AM
Find


Messages In This Thread
RE: Callback func doesn't get called after enemy leaves area - by Adny - 05-24-2012, 12:57 AM



Users browsing this thread: 1 Guest(s)