Difference between revisions of "ObjectMod Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
imported>ShadeMe
(Add missing F4SE member functions)
Line 16: Line 16:
== Properties ==
== Properties ==
None
None
== F4SE Properties ==
None
== F4SE Structs ==
*Struct [[PropertyModifier Struct - ObjectMod|PropertyModifier]]
**A structure that holds property information about an ObjectMod entry.


== Global Functions ==
== Global Functions ==
Line 22: Line 29:
== Member Functions ==
== Member Functions ==
None
None
== F4SE Member Functions ==
*MiscObject Function [[GetLooseMod - ObjectMod|GetLooseMod]]()
**Gets the ObjectMod's loose mod.
*int Function [[GetMaxRank - ObjectMod|GetMaxRank]]()
**Gets the ObjectMod's max rank.
*int Function [[GetPriority - ObjectMod|GetPriority]]()
**Gets the ObjectMod's priority.
*Function [[SetMaxRank - ObjectMod|SetMaxRank]](int aiRank)
**Sets the ObjectMod's max rank.
*Function [[SetPriority - ObjectMod|SetPriority]](int aiPriority)
**Sets the ObjectMod's priority.


== Events ==
== Events ==

Revision as of 00:27, 22 October 2017

Extends: Form Script

Editor: Object Mod

Script for the manipulation of an object mod

Definition

ScriptName ObjectMod extends Form Native Hidden

Properties

None

F4SE Properties

None

F4SE Structs

  • Struct PropertyModifier
    • A structure that holds property information about an ObjectMod entry.

Global Functions

None

Member Functions

None

F4SE Member Functions

  • MiscObject Function GetLooseMod()
    • Gets the ObjectMod's loose mod.
  • int Function GetMaxRank()
    • Gets the ObjectMod's max rank.
  • int Function GetPriority()
    • Gets the ObjectMod's priority.
  • Function SetMaxRank(int aiRank)
    • Sets the ObjectMod's max rank.
  • Function SetPriority(int aiPriority)
    • Sets the ObjectMod's priority.


Events

None

See Also