Difference between revisions of "NiAVObjectSetLocalTranslation"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (bool:success) NifSetNthChildLocalTranslation TEMP float:x float:y float:z short:ChildID short:NifID
  (bool:success) NifSetNthChildLocalTranslationTEMP float:x float:y float:z short:ChildID short:NifID


Sets the local translation of the specified Child of the root node.
Sets the local translation of the specified Child of the root node.

Revision as of 12:40, 25 April 2010

This is a command from NifSE.

Syntax

(bool:success) NifSetNthChildLocalTranslationTEMP float:x float:y float:z short:ChildID short:NifID

Sets the local translation of the specified Child of the root node.

Notes

  • Because OBSE Plug-Ins cannot currently accept arrays as arguments, this function takes 3 floats instead of one length 3 array of floats. OBSE v1900 is expected to enable the acceptance of arrays, in which case this function will be deprecated in favor of the version that accepts the matrix. Backwards compatibility will be maintained however.

See Also