MoveToCell

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Moves the calling reference to the specified Cell or Worldspace, at the specified (X, Y, Z) position. Unlike MoveTo, this function does not require another object reference to mark the destination, allowing more flexibility.

Syntax

[help]
(success:0/1) reference.MoveToCell cellOrWorldspace:ref posX:float posY:float posZ:float

Example

objectRef.MoveToCell FreesideAtomicWrangler 2200 3200 13700
objectRef.MoveToCell WastelandNV -12000 98000 4300

Notes

  • This function may not work as expected with some object types. Please see Notes section of MoveTo for more details.

See Also