About character[ ].Z variable

Started by SilverWizard_OTF, Tue 10/08/2004 16:51:46

Previous topic - Next topic

SilverWizard_OTF

I was wondering what is this "character[ ].Z" variable.
How can i use it to my game (Is it a kin dof co-ordinates?, like x or y?)

Can i use for to make my character do a kind of   "jumping" action
(e.g.  press a key, and jumps over a cliff).

Thanks for your help
"All we have to decide is what to do, with the time that is given to us"

Mr Jake

I think that it lifts the character off of the group, meaning that it ignores walk zones. So yes, you could create a jump effect without alot of toggling walkable areas.

SilverWizard_OTF

Thanks for your help.

Anyway, so i could something like that even with a  MoveCharacterDirest script command, couldn't i?
"All we have to decide is what to do, with the time that is given to us"

Mr Jake

I cant remember where I read it  but there are also other things this makes the character ignore. Ill see if I can find where I had it.

SilverWizard_OTF

Thanks.
Also, could you tell me what values can this variable take
(I was also wandering why is it called Z CO-ORDINATE)
"All we have to decide is what to do, with the time that is given to us"

Hollister Man

In 2 dimentions X and Y are up-down and left-right.  In 3d, Z is 'in-out'. 

This variable was added to AGS to create a pseudo-3d way of moving the character up into the 'air' without moving where the game determines its 'feet' to be.  So its like the engine just draws the character higher on the screen, rather than actually moving the coordinates of the character.  I think...
That's like looking through a microscope at a bacterial culture and seeing a THOUSAND DANCING HAMSTERS!

Your whole planet is gonna blow up!  Your whole DAMN planet...

TerranRich

Basically, X and Y are the "flat" coordinates of the floor, as if you were looking at a plane from an angle. The "Z" coordinate is going up-down, "away" from this floor.
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk