Difference between revisions of "NetImmerse Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Arocide
(→‎Global SKSE Member Functions: Should now contain all SKSE functions up to 1.7.2)
imported>Arocide
m (→‎Global SKSE Member Functions: Fixed Silly syntax errors)
Line 21: Line 21:
== Global SKSE Member Functions ==
== Global SKSE Member Functions ==


:'''Bool [[HasNode - NetImmerse|HasNode]](ObjectRefrence ''ref'', String ''node'', Bool ''firstPerson'')'''
:'''Bool [[HasNode - NetImmerse|HasNode]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Returns whether the object has the particular node.
:*Returns whether the object has the particular node.


Line 60: Line 60:
:*Sets the Local Z position of the specified node on the specified Reference to the specified value.
:*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'')'''
:*Returns the scale of the specified Node on the specified Object.
:*Returns the scale of the specified Node on the specified Object.


:'''[[SetNodeScale - NetImmerse|SetNodeScale]](ObjectReference ''ref'', String node, Bool firstPerson)'''
:'''[[SetNodeScale - NetImmerse|SetNodeScale]](ObjectReference ''ref'', String ''node'', Bool ''firstPerson'')'''
:*Sets the scale of the specified Node on the specified Object
:*Sets the scale of the specified Node on the specified Object


:'''[[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.


Line 99: Line 99:
:*Sets the Local Rotation (in Rotation Matrix Format) of a node using the passed in array.
:*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}'''
:'''[[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]])
:*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}'''
:'''[[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]])
:*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}'''
:'''[[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]])
:*Sets the Z position of the specified Node on the specified Object. (Depreciated use [[SetNodeLocalPositionZ - NetImmerse|SetNodeLocalPositionZ]])



Revision as of 04:11, 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(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, 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.