ActorCount

Game Editor comments and discussion.

ActorCount

Postby ingsan » Sun Mar 14, 2004 8:42 pm

What is ActorCount ? :?

mmmmm...and transp ? :(

:? mmmmmm .... and what are the differences between animpos, animindex and nframes ? ...... :roll:
:D please
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Mon Mar 15, 2004 2:47 am

Actorcount = total number of actors currently active.

Transp = Transparency
0 = fully visible. 1 = fully transparent.

nframes = number of frames in the current animation

animpos = the position of the current animation

animindex = each animation that an actor has has a unique index assigned to it. ( This way you can tell which animation is currently running. )
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Mon Mar 15, 2004 10:10 am

and with animindex, can u tell an actor(who has 6 animations assigned to it and that its current animation is 1) to go and have another animation (ex animation 2) after a timer ?

Thanx for all pal :)
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Mon Mar 15, 2004 10:30 am

Hi ingsan :)

Animindex can be read but not written.

You use Change Animation along with the anim name to set it.

So:

On Timer Event

if (animindex == 1)
ChangeAnimation("Event Actor", "animation_2", FORWARD);

Image
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby ingsan » Mon Mar 15, 2004 12:00 pm

Thanx Boss 8)
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Mon Mar 15, 2004 12:36 pm

Everything's just great! :)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest