Difference between revisions of "NetImmerse Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
imported>Arocide
(→‎Global SKSE Member Functions: Should now contain all SKSE functions up to 1.7.2)
Line 24: Line 24:
:*Returns whether the object has the particular node.
:*Returns whether the object has the particular node.


:'''Float [[GetNodePositionX - NetImmerse|GetNodePositionX]](ObjectReference ''ref'', String node, Bool firstPerson)'''
:'''Float [[GetNodeWorldPositionX - NetImmerse|GetNodeWorldPositionX]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the X position of the specified Node on the specified Object.
:*Returns the World X position of a node.
 
:'''Float [[GetNodeWorldPositionY - NetImmerse|GetNodeWorldPositionY]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the World Y position of a node.
 
:'''Float [[GetNodeWorldPositionZ - NetImmerse|GetNodeWorldPositionZ]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the World Z position of a node.
 
:'''Float [[GetRelativeNodePositionX - NetImmerse|GetRelativeNodePositionX]](ObjectReference ''ref'', String ''nodeA'', String ''nodeB'', Bool ''firstPerson'')'''
:*Returns the Relative X position of nodeB to nodeA.
 
:'''Float [[GetRelativeNodePositionY - NetImmerse|GetRelativeNodePositionY]](ObjectReference ''ref'', String ''nodeA'', String ''nodeB'', Bool ''firstPerson'')'''
:*Returns the Relative Y position of nodeB to nodeA.
 
:'''Float [[GetRelativeNodePositionZ - NetImmerse|GetRelativeNodePositionZ]](ObjectReference ''ref'', String ''nodeA'', String ''nodeB'', Bool ''firstPerson'')'''
:*Returns the Relative Z position of nodeB to nodeA.
 
:'''Float [[GetNodeLocalPositionX - NetImmerse|GetNodeLocalPositionX]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the Local X position of a node.
 
:'''Float [[GetNodeLocalPositionY - NetImmerse|GetNodeLocalPositionY]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the Local Y position of a node
 
:'''Float [[GetNodeLocalPositionZ - NetImmerse|GetNodeLocalPositionZ]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the Local Z position of a node
 
:'''[[SetNodeLocalPositionX - NetImmerse|SetNodeLocalPositionX]](ObjectReference ''ref'', String ''node'', Float ''x'', Bool ''firstPerson'')'''
:*Sets the Local X position of the specified node on the specified Reference to the specified value.


:'''Float [[GetNodePositionY - NetImmerse|GetNodePositionY]](ObjectReference ''ref'', String node, Bool firstPerson)'''
:'''[[SetNodeLocalPositionY - NetImmerse|SetNodeLocalPositionY]](ObjectReference ''ref'', String ''node'', Float ''y'', Bool ''firstPerson'')'''
:*Returns the Y position of the specified Node on the specified Object.
:*Sets the Local Y position of the specified node on the specified Reference to the specified value.


:'''Float [[GetNodePositionZ - NetImmerse|GetNodePositionZ]](ObjectReference ''ref'', String node, Bool firstPerson)'''
:'''[[SetNodeLocalPositionZ - NetImmerse|SetNodeLocalPositionZ]](ObjectReference ''ref'', String ''node'', Float ''z'', Bool ''firstPerson'')'''
:*Returns the Z position of the specified Node on the specified Object.
:*Sets the Local Z position of the specified node on the specified Reference to the specified value.


:'''Float [[GetNodeScale - NetImmerse|GetNodeScale]](ObjectReference ''ref'', String node, Bool firstPerson)'''
:'''Float [[GetNodeScale - NetImmerse|GetNodeScale]](ObjectReference ''ref'', String node, Bool firstPerson)'''
Line 41: Line 68:
:'''[[SetNodeTextureSet - NetImmerse|SetNodeTextureSet]](ObjectReference ''ref'', String node, TextureSet tSet, Bool firstPerson)'''
:'''[[SetNodeTextureSet - NetImmerse|SetNodeTextureSet]](ObjectReference ''ref'', String node, TextureSet tSet, Bool firstPerson)'''
:*Sets a NiTriShape's textures by name of the Nif node.
:*Sets a NiTriShape's textures by name of the Nif node.
:'''Bool [[GetNodeWorldPosition - NetImmerse|GetNodeWorldPosition]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the World Position of the specified node on the specified Reference.
:'''Bool [[GetRelativeNodePosition - NetImmerse|GetRelativeNodePosition]](ObjectReference ''ref'', String ''nodeA'', String ''nodeA'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the Relative Position of nodeB to nodeA.
:'''Bool [[GetNodeLocalPosition - NetImmerse|GetNodeLocalPosition]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the Local Position of a node.
:'''Bool [[SetNodeLocalPosition - NetImmerse|SetNodeLocalPosition]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Sets the Local Position of a node using the passed in array.
:'''Bool [[GetNodeWorldRotationEuler - NetImmerse|GetNodeWorldRotationEuler]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the World Rotation (in Euler Format) of a node.
:'''Bool [[GetNodeLocalRotationEuler - NetImmerse|GetNodeLocalRotationEuler]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the Local Rotation (in Euler Format) of a node.
:'''Bool [[SetNodeLocalRotationEuler - NetImmerse|SetNodeLocalRotationEuler]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Sets the Local Rotation (in Euler Format) of a node using the passed in array.
:'''Bool [[GetNodeWorldRotationMatrix - NetImmerse|GetNodeWorldRotationMatrix]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the World Rotation (in Rotation Matrix Format) of a node.
:'''Bool [[GetNodeLocalRotationMatrix - NetImmerse|GetNodeLocalRotationMatrix]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Fills the passed in array with the World Rotation (in Rotation Matrix Format) of a node.
:'''Bool [[SetNodeLocalRotationMatrix - NetImmerse|SetNodeLocalRotationMatrix]](ObjectReference ''ref'', String ''node'', float[] ''in'', Bool ''firstPerson'')'''
:*Sets the Local Rotation (in Rotation Matrix Format) of a node using the passed in array.
:'''[[SetNodePositionX - NetImmerse|SetNodePositionX]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'') {DEPRECIATED}'''
:*Sets the X position of the specified Node on the specified Object.(Depreciated use [[SetNodeLocalPositionX - NetImmerse|SetNodeLocalPositionX]])
:'''[[SetNodePositionY - NetImmerse|SetNodePositionY]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'') {DEPRECIATED}'''
:*Sets the Y position of the specified Node on the specified Object.(Depreciated use [[SetNodeLocalPositionY - NetImmerse|SetNodeLocalPositionY]])
:'''[[SetNodePositionZ - NetImmerse|SetNodePositionZ]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'') {DEPRECIATED}'''
:*Sets the Z position of the specified Node on the specified Object. (Depreciated use [[SetNodeLocalPositionZ - NetImmerse|SetNodeLocalPositionZ]])
:'''Float [[GetNodePositionX - NetImmerse|GetNodePositionX]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'') {DEPRECIATED}'''
:*Returns the X position of the specified Node on the specified Object.
:'''Float [[GetNodePositionY - NetImmerse|GetNodePositionY]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'') {DEPRECIATED}'''
:*Returns the Y position of the specified Node on the specified Object.
:'''Float [[GetNodePositionZ - NetImmerse|GetNodePositionZ]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'') {DEPRECIATED}'''
:*Returns the Z position of the specified Node on the specified Object.

Revision as of 04:05, 30 April 2015

Source: SKSE

Extends: None

Flags: Hidden


Script for the manipulation of NiNodes.


Definition

ScriptName NetImmerse Hidden


Global SKSE Member Functions

Bool HasNode(ObjectRefrence ref, String node, Bool firstPerson)
  • Returns whether the object has the particular node.
Float GetNodeWorldPositionX(ObjectReference ref, String node, Bool firstPerson)
  • Returns the World X position of a node.
Float GetNodeWorldPositionY(ObjectReference ref, String node, Bool firstPerson)
  • Returns the World Y position of a node.
Float GetNodeWorldPositionZ(ObjectReference ref, String node, Bool firstPerson)
  • Returns the World Z position of a node.
Float GetRelativeNodePositionX(ObjectReference ref, String nodeA, String nodeB, Bool firstPerson)
  • Returns the Relative X position of nodeB to nodeA.
Float GetRelativeNodePositionY(ObjectReference ref, String nodeA, String nodeB, Bool firstPerson)
  • Returns the Relative Y position of nodeB to nodeA.
Float GetRelativeNodePositionZ(ObjectReference ref, String nodeA, String nodeB, Bool firstPerson)
  • Returns the Relative Z position of nodeB to nodeA.
Float GetNodeLocalPositionX(ObjectReference ref, String node, Bool firstPerson)
  • Returns the Local X position of a node.
Float GetNodeLocalPositionY(ObjectReference ref, String node, Bool firstPerson)
  • Returns the Local Y position of a node
Float GetNodeLocalPositionZ(ObjectReference ref, String node, Bool firstPerson)
  • Returns the Local Z position of a node
SetNodeLocalPositionX(ObjectReference ref, String node, Float x, Bool firstPerson)
  • Sets the Local X position of the specified node on the specified Reference to the specified value.
SetNodeLocalPositionY(ObjectReference ref, String node, Float y, Bool firstPerson)
  • Sets the Local Y position of the specified node on the specified Reference to the specified value.
SetNodeLocalPositionZ(ObjectReference ref, String node, Float z, Bool firstPerson)
  • Sets the Local Z position of the specified node on the specified Reference to the specified value.
Float GetNodeScale(ObjectReference ref, String node, Bool firstPerson)
  • Returns the scale of the specified Node on the specified Object.
SetNodeScale(ObjectReference ref, String node, Bool firstPerson)
  • Sets the scale of the specified Node on the specified Object
SetNodeTextureSet(ObjectReference ref, String node, TextureSet tSet, Bool firstPerson)
  • Sets a NiTriShape's textures by name of the Nif node.
Bool GetNodeWorldPosition(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Fills the passed in array with the World Position of the specified node on the specified Reference.
Bool GetRelativeNodePosition(ObjectReference ref, String nodeA, String nodeA, float[] in, Bool firstPerson)
  • Fills the passed in array with the Relative Position of nodeB to nodeA.
Bool GetNodeLocalPosition(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Fills the passed in array with the Local Position of a node.
Bool SetNodeLocalPosition(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Sets the Local Position of a node using the passed in array.
Bool GetNodeWorldRotationEuler(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Fills the passed in array with the World Rotation (in Euler Format) of a node.
Bool GetNodeLocalRotationEuler(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Fills the passed in array with the Local Rotation (in Euler Format) of a node.
Bool SetNodeLocalRotationEuler(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Sets the Local Rotation (in Euler Format) of a node using the passed in array.
Bool GetNodeWorldRotationMatrix(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Fills the passed in array with the World Rotation (in Rotation Matrix Format) of a node.
Bool GetNodeLocalRotationMatrix(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Fills the passed in array with the World Rotation (in Rotation Matrix Format) of a node.
Bool SetNodeLocalRotationMatrix(ObjectReference ref, String node, float[] in, Bool firstPerson)
  • Sets the Local Rotation (in Rotation Matrix Format) of a node using the passed in array.
SetNodePositionX(ObjectReference ref, String node, Bool firstPerson) {DEPRECIATED}
  • Sets the X position of the specified Node on the specified Object.(Depreciated use SetNodeLocalPositionX)
SetNodePositionY(ObjectReference ref, String node, Bool firstPerson) {DEPRECIATED}
  • Sets the Y position of the specified Node on the specified Object.(Depreciated use SetNodeLocalPositionY)
SetNodePositionZ(ObjectReference ref, String node, Bool firstPerson) {DEPRECIATED}
  • Sets the Z position of the specified Node on the specified Object. (Depreciated use SetNodeLocalPositionZ)
Float GetNodePositionX(ObjectReference ref, String node, Bool firstPerson) {DEPRECIATED}
  • Returns the X position of the specified Node on the specified Object.
Float GetNodePositionY(ObjectReference ref, String node, Bool firstPerson) {DEPRECIATED}
  • Returns the Y position of the specified Node on the specified Object.
Float GetNodePositionZ(ObjectReference ref, String node, Bool firstPerson) {DEPRECIATED}
  • Returns the Z position of the specified Node on the specified Object.