Difference between revisions of ".ypos"

From WikiManual
Jump to: navigation, search
 
(Updated description to include changes implemented in version 2.43w.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Reads back a bot's vertical position with the top representing zero. ypos shares the same memloc as depth. These are completely interchangable.
+
{{v221}} 217 [[.ypos]] also known as [[.depth]] is a bot's vertical position from the top = 0. It is measured as using field units for fields with dimensions less than 32000. For fields with dimensions greater than 32000 .ypos units are measured as 1/32000 of the size of the field.
 +
 
 +
==[[Sysvar]]s:==
 +
{{position}}

Latest revision as of 22:03, 7 April 2008

V221.gif 217 .ypos also known as .depth is a bot's vertical position from the top = 0. It is measured as using field units for fields with dimensions less than 32000. For fields with dimensions greater than 32000 .ypos units are measured as 1/32000 of the size of the field.

Sysvars:

Position:

.velscalar 196
.vel 200 .velup 200
.velsx 197 Veggietransparent.gif .veldx 198
.veldn 199
.edge 214
.fixed 215 .fixpos 216
.xpos 219 .ypos/.depth 217
.daytime 218
.sun 400