How can I get the last actor from in the scene?
What do you mean by “last”?
Where do you want to “get” it?
I wanted to get the last alive/undestroyed actor.
getallactorsofclass then if length=1 get 0 from that array
How can I get the last actor from in the scene?
What do you mean by “last”?
Where do you want to “get” it?
I wanted to get the last alive/undestroyed actor.
getallactorsofclass then if length=1 get 0 from that array