getAllActors

Non-platform specific questions.

getAllActors

Postby brutalDeluxe » Thu Jul 28, 2005 10:07 pm

Is there a way to get a list (array) of all current actors.

I am imagining something like the "getAllActorsInCollision" function but instead "getAllActors".

This would be very useful.
User avatar
brutalDeluxe
 
Posts: 43
Joined: Sun Dec 12, 2004 7:43 am
Score: 0 Give a positive score

Postby makslane » Fri Jul 29, 2005 1:16 am

You can place a big Filled Region actor in the game, and use the getAllActorsInCollision with this region to get all game actors.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Fri Jul 29, 2005 4:09 am

Hey, I was needing that function too!

Excellent solution.
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby brutalDeluxe » Fri Jul 29, 2005 9:54 pm

Thanks guys.
User avatar
brutalDeluxe
 
Posts: 43
Joined: Sun Dec 12, 2004 7:43 am
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron