I'll be brief.
In the event MouseButtonDown (or any other), I create a new actor using the CreateActor () function, the question is how to access the created actor in the event DrawActor () or any other event?
Actor * this;
this=CreateActor("shot", "shot1", "(none)", "(none)", 0, 0, false);
ChangeAnimationDirection(this->clonename, STOPPED);
this->animpos=4;
Before you can Create Actor you have to add actor first in GE.
Users browsing this forum: No registered users and 1 guest