Difference between revisions of "NetImmerse Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(Created NetImmerse Script)
 
imported>Arocide
m (→‎Global SKSE Member Functions: Corrected SetNodeScale syntax)
 
(3 intermediate revisions by 2 users not shown)
Line 21: Line 21:
== Global SKSE Member Functions ==
== Global SKSE Member Functions ==


{|class="wikitable" width =100%
:'''Bool [[HasNode - NetImmerse|HasNode]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
!style="text-align:left;"|Function
:*Returns whether the object has the particular node.
!style="text-align:left;"|Description
|-
|[[HasNode - NetImmerse|Bool '''HasNode'''(ObjectRefrence ''ref'', String ''node'', Bool ''firstPerson'')]]
|Returns whether the object has the particular node.
|-


|[[GetNodePositionX - NetImmerse|Float '''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.
|-


|[[GetNodePositionY - NetImmerse|Float '''GetNodePositionY'''(ObjectReference ''ref'', String node, Bool firstPerson)]]
:'''Float [[GetNodeWorldPositionY - NetImmerse|GetNodeWorldPositionY]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
||Returns the Y position of the specified Node on the specified Object.
:*Returns the World Y position of a node.
|-


|[[GetNodePositionZ - NetImmerse|Float '''GetNodePositionZ'''(ObjectReference ''ref'', String node, Bool firstPerson)]]
:'''Float [[GetNodeWorldPositionZ - NetImmerse|GetNodeWorldPositionZ]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
||Returns the Z position of the specified Node on the specified Object.
:*Returns the World Z position of a node.
|-


|[[GetNodeScale - NetImmerse|Float '''GetNodeScale'''(ObjectReference ''ref'', String node, Bool firstPerson)]]
:'''Float [[GetRelativeNodePositionX - NetImmerse|GetRelativeNodePositionX]](ObjectReference ''ref'', String ''nodeA'', String ''nodeB'', Bool ''firstPerson'')'''
||Returns the scale of the specified Node on the specified Object
:*Returns the Relative X position of nodeB to nodeA.
|-


|[[SetNodeScale - NetImmerse|'''SetNodeScale'''(ObjectReference ''ref'', String node, Bool firstPerson)]]
:'''Float [[GetRelativeNodePositionY - NetImmerse|GetRelativeNodePositionY]](ObjectReference ''ref'', String ''nodeA'', String ''nodeB'', Bool ''firstPerson'')'''
||Sets the scale of the specified Node on the specified Object
:*Returns the Relative Y position of nodeB to nodeA.
|-


|[[SetNodeTextureSet - NetImmerse|'''SetNodeTextureSet'''(ObjectReference ''ref'', String node, TextureSet tSet, Bool firstPerson)]]
:'''Float [[GetRelativeNodePositionZ - NetImmerse|GetRelativeNodePositionZ]](ObjectReference ''ref'', String ''nodeA'', String ''nodeB'', Bool ''firstPerson'')'''
||Sets a NiTriShape's textures by name of the Nif node.
:*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.
 
:'''[[SetNodeLocalPositionY - NetImmerse|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 - NetImmerse|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 - NetImmerse|GetNodeScale]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns the scale of the specified Node on the specified Object.
 
:'''[[SetNodeScale - NetImmerse|SetNodeScale]](ObjectReference ''ref'', String ''node'', Float ''scale'', Bool ''firstPerson'')'''
:*Sets the scale of the specified Node on the specified Object
 
:'''[[SetNodeTextureSet - NetImmerse|SetNodeTextureSet]](ObjectReference ''ref'', String ''node'', TextureSet ''tSet'', Bool ''firstPerson'')'''
:*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'', Float ''x'', 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'', Float ''y'', 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'', Float ''z'', 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.

Latest revision as of 04:13, 30 April 2015

Source: SKSE

Extends: None

Flags: Hidden


Script for the manipulation of NiNodes.


Definition[edit | edit source]

ScriptName NetImmerse Hidden


Global SKSE Member Functions[edit | edit source]

Bool HasNode(ObjectReference 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, Float scale, 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, Float x, Bool firstPerson) {DEPRECIATED}
  • Sets the X position of the specified Node on the specified Object.(Depreciated use SetNodeLocalPositionX)
SetNodePositionY(ObjectReference ref, String node, Float y, Bool firstPerson) {DEPRECIATED}
  • Sets the Y position of the specified Node on the specified Object.(Depreciated use SetNodeLocalPositionY)
SetNodePositionZ(ObjectReference ref, String node, Float z, 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.