parents

Posted:
Sun Oct 14, 2007 12:24 am
by elite
Re: parents

Posted:
Sun Oct 14, 2007 4:08 am
by DilloDude
Maybe just use something like: Player->CreateActor->ChangeParent(view, "Event Actor"). It depends a little on the situation.
Re: parents

Posted:
Sun Oct 14, 2007 6:19 am
by elite
hmm, i was just thinking, what is the difference between draw actor and create actor?

Re: parents

Posted:
Sun Oct 14, 2007 7:57 am
by DilloDude
Create actor takes place only once, when the CreateActor function is called, and the actor is first created. That's where you initialize variables and things like that. Draw actor takes place every time the actor is drawn on the screen, IE every frame (which at standard rate is thirty times a second). That's where you put stuff that the actor constantly refers to.