A reference to a coordinate in game.
See also:
Finding a specific position
Operators that have been overloaded to accept positions.
{X,Z,Y} coordinate.
{X,Y} coordinate.
Position of an object.
The camera current position.
Camera position
The current camera focus position.
camera focus
The last stored camera position.
stored camera position
The current stored camera focus position.
stored camera focus
If an object is something with Physics when using the velocty script function it applies a velocity to it towards a position. This calcs the approximate position a projectile will land excluding the effect of wind, other collisions etc.
landing position of MyMan velocity heading [ThrowData] speed 10.1
Returns the last know multiplayer friendly position of the hand, or if single player the current hand position.
hand position
Returns the last known position the hand clicked. (0,0,0 if never clicked)
left clicked position
Returns a position facing the camera position at a distance away.
facing camera position distance expression
Returns the position the player last cast a spell.
last player 1 spell cast position
Gets a position in the direction from/to at a defined distance and relative angle to the from/to. A vector is created from from/to and then using this as direction vector, a relative angle to it in the x/z axis, and distance along this said angle (+/- 0-> 180 degrees), I return a position which holds the distances in the x, y, and z.
get target from {LostBrother} to {Sister} distance 5 angle 210
Returns the position of the objects arse.
arse position of MyCreature
Returns the position of the objects belly.
belly position of MyCreature
Returns the position of the objects focus.
focus position of MyCreature
Returns the position of the objects hand (left or right).
left hand position of MyCreature
Position of an objects destination.
Some objects have extra positions (EPS) held in their mesh. This returns their position. There can be more than 1 ep in a mesh so you pass the offset starting at zero.
extra position 0 of object
Gives a relative position of a world position relative to a passed object
MyPos=marker at get relative position of Villager1 to {MyWorldPos}
Gets the nearest position on the given towns influence ring, to the position specified.
get nearest position at MyTown influence ring from {1900, 100, 1036}
Gets the world position from an object given a relative pos from the object
MyPos=marker at get world position from Villager1 to {MyRelPos}
Gets the world position from an object given a relative pos from the object
MyPos=marker at get world position from {MyPos} facing {MyPosfacing} to {MyRelPos}
Gets the extra position of a given object by the given string
MyHouseDoor = get extra position "BWS_EP_DOOR" from MyHouse
Gets the extra position focus of a given object by the given string
MyHouseDoor = get extra position "BWS_EP_DOOR" focus from MyHouse
Gets the future position of an epic miracle after a given time
MyEarthquakePos = marker at future position of epic miracle MyEarthquake with time 50 seconds
Gets the future focus of an epic miracle after a given time
MyEarthquakePos = marker at future focus of epic miracle MyEarthquake with time 50 seconds
Adds the {X,Z,Y} components of the two positions.
Subtracts the {X,Z,Y} components of the two positions.
Multiplies the {X,Z,Y} components of the position by the expression. Note that position * expression does not work.
Divides the {X,Z,Y} components of the position by the expression. Note that expression / position does not work.
Oposite position. Hasn't been used for a long time, but should probably work.
calculates the position in the brackets before any other position
{House} + ({Offset}/OffsetRatio)
This documentation generated by LHDOC, © Lionhead Studios 2000