x
y
z
The position of the entities' or particles' origin in the map coordinate system
(in quants).
The x parameter can also be used as a position vector
. An entity can be teleported or moved without collision detection by simply
changing
these values. They can be changed only once per frame.
For view entities, the position is relative
to the camera position and rotates with the camera. Thus, the origin is
at
camera position, x is
the view direction,
y is sidewards and z up and down.
Range:
-999999 .. +999999 (default: set by WED or ent_create)
Type:
var / VECTOR
Example:
action circle()
{
while(1)
{
my.x = cos(my.skill1) * 100;
my.y = sin(my.skill1) * 100;
my.z = sin(my.skill1) * 50;
my.skill1 += time_step;
wait(1);
}
}
See also:
pan,
tilt, roll, c_move