Open main menu

UESPWiki β

Morrowind Mod:XPositionCell

< Mod / Morrowind: Morrowind Mod: MWSE

A function added by MWSE.

xPositionCell is a wrapper function for the original PositionCell to allow variables.

SyntaxEdit

ref->xPositionCell x (float) y (float) z (float) rotation (float) cellname (string)

ExampleEdit

long pcRef
float x
float y
float z
float rot
string cell

Setx pcRef to xGetRef "Player"
Set x to 550
Set y to 300
Set z to 0
Set rot to 90
Setx cell to "Abaelun Mine"

pcRef->xPosition x y z rot cell

See AlsoEdit