How do i set an Actor as a variable???

Game Editor comments and discussion.

How do i set an Actor as a variable???

Postby GuitarManGuitar » Sat Jan 05, 2008 12:25 am

How do i set an Actor as a variable??? :| :?: :cry: :? :| :|
if you know PLEASE tell me!!! :cry: :cry: :cry: :cry: :cry:
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: How do i set an Actor as a variable???

Postby GuitarManGuitar » Sat Jan 05, 2008 12:46 am

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);
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: How do i set an Actor as a variable???

Postby DarkParadox » Sat Jan 05, 2008 1:06 am

you can't set the actor as a variable.
but you can set his attributtes.
such as his animpos or x.
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: How do i set an Actor as a variable???

Postby GuitarManGuitar » Sat Jan 05, 2008 1:40 am

then what is an Actor Variable for?
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: How do i set an Actor as a variable???

Postby DarkParadox » Sat Jan 05, 2008 1:44 am

its for setting a var that will only effect that one character
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: How do i set an Actor as a variable???

Postby Bee-Ant » Sat Jan 05, 2008 8:19 am

Although actor variable make effect just for 1 actor, but another actor could access it... :D
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: How do i set an Actor as a variable???

Postby yttermayn » Mon Jan 21, 2008 9:53 pm

Bee-Ant wrote:Although actor variable make effect just for 1 actor, but another actor could access it... :D


Could you elaborate on that? Or post a link to a page that explains it in more detail?

Thanks.
yttermayn
 
Posts: 48
Joined: Sun Nov 25, 2007 4:10 pm
Score: 2 Give a positive score

Re: How do i set an Actor as a variable???

Postby yttermayn » Mon Jan 21, 2008 9:57 pm

Oh, never mind, I just realized what you were saying. Move along, nothing to see here...
yttermayn
 
Posts: 48
Joined: Sun Nov 25, 2007 4:10 pm
Score: 2 Give a positive score

Re: How do i set an Actor as a variable???

Postby Bee-Ant » Sun Jan 27, 2008 5:30 am

Short to explain...use something like this
Code: Select all
AnotherActor.It'sVariable=AnotherActor.It'sVariable+5;
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron