x

y

z

The position of the entities' or particles' origin in the map coordinate system (in quants). An entity can be teleported or moved without collision detection by simply changing these values.

Range:

-999999.999 .. +999999.999 (default: set by WED or ent_create)

Type:

var; entity.x can also serve as position VECTOR.

Remarks:

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

► latest version online