Page 1 of 1
How do i set an Actor as a variable???
Posted:
Sat Jan 05, 2008 12:25 am
by GuitarManGuitar
Re: How do i set an Actor as a variable???
Posted:
Sat Jan 05, 2008 12:46 am
by GuitarManGuitar
what i mean is a variable that can be treated as an actor and can equal different actors and all you have to do to change it is put:
x(the variable) = bob(the actor);
Re: How do i set an Actor as a variable???
Posted:
Sat Jan 05, 2008 1:06 am
by DarkParadox
you can't set the actor as a variable.
but you can set his attributtes.
such as his animpos or x.
Re: How do i set an Actor as a variable???
Posted:
Sat Jan 05, 2008 1:40 am
by GuitarManGuitar
then what is an Actor Variable for?
Re: How do i set an Actor as a variable???
Posted:
Sat Jan 05, 2008 1:44 am
by DarkParadox
its for setting a var that will only effect that one character
Re: How do i set an Actor as a variable???
Posted:
Sat Jan 05, 2008 8:19 am
by Bee-Ant
Although actor variable make effect just for 1 actor, but another actor could access it...
Re: How do i set an Actor as a variable???
Posted:
Mon Jan 21, 2008 9:53 pm
by yttermayn
Bee-Ant wrote:Although actor variable make effect just for 1 actor, but another actor could access it...
Could you elaborate on that? Or post a link to a page that explains it in more detail?
Thanks.
Re: How do i set an Actor as a variable???
Posted:
Mon Jan 21, 2008 9:57 pm
by yttermayn
Oh, never mind, I just realized what you were saying. Move along, nothing to see here...
Re: How do i set an Actor as a variable???
Posted:
Sun Jan 27, 2008 5:30 am
by Bee-Ant
Short to explain...use something like this
- Code: Select all
AnotherActor.It'sVariable=AnotherActor.It'sVariable+5;