Getting pointer to the event actor?

Non-platform specific questions.

Getting pointer to the event actor?

Postby morcior » Thu Jan 25, 2007 3:12 am

How do you obtain the pointer to the Actor object of the current event?
morcior
 
Posts: 83
Joined: Fri Jan 12, 2007 12:16 am
Location: UK
Score: 9 Give a positive score

Postby makslane » Thu Jan 25, 2007 5:52 pm

You can only access the variables (x, y, ...) not get a pointer.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Troodon » Fri Jan 26, 2007 9:58 pm

But you could make a "fake" pointer with a new pointer actor. And transport it to the diferent actors when needed.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest