Difference between revisions of ".ypos"

From WikiManual
Jump to: navigation, search
(kekeke)
(Updated description to include changes implemented in version 2.43w.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{v221}} 217 [[.ypos]] shares the same memory location as [[.depth]] (217). Both are just 2 completely interchangeable names for the same thing. What a waste of namespaces.
+
{{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.
  
Go to [[.depth]] now, what are you waiting for!
+
==[[Sysvar]]s:==
 
+
{{position}}
By the way, it is a bot's vertical position with the top representing zero.
 

Latest revision as of 21: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