Page 1 of 1

get a variable from creator or parent?

PostPosted: Fri Sep 29, 2006 11:30 pm
by pixelpoop
hello all,
is it possible to have an actor get anothers "actor variable" from it's creator or parent? I thought it might be this but I was wrong. on draw actor event
Code: Select all
localvariable=creator.localvariable;

any ideas?

PostPosted: Fri Sep 29, 2006 11:37 pm
by Game A Gogo
maybe:
Code: Select all
Myvariable.parent
Myvariable.creator

Re: get a variable from creator or parent?

PostPosted: Fri Sep 29, 2006 11:59 pm
by makslane
pixelpoop wrote:
Code: Select all
localvariable=creator.localvariable;


Your code is right