Difference between revisions of "ObjectReference Script"

1,229 bytes added ,  01:52, 22 October 2017
Add missing F4SE member functions and struct
imported>Qazaaq
(Added motion type properties)
imported>ShadeMe
(Add missing F4SE member functions and struct)
Line 21: Line 21:
**int Motion_Dynamic [1]:
**int Motion_Dynamic [1]:
**int Motion_Keyframed [2]:
**int Motion_Keyframed [2]:
== F4SE Structs ==
*Struct [[ConnectPoint Struct - ObjectReference|ConnectPoint]]
**A structure that holds property information about a connect point on a 3D model.


== Global Functions ==
== Global Functions ==
Line 479: Line 483:


== F4SE Member Functions ==
== F4SE Member Functions ==
*ObjectReference Function [[AttachWire - ObjectReference|AttachWire]](ObjectReference akRef, Form akSpline = None)
**Attach akSpline between two ObjectReferences, and return the created spline.
*ObjectReference Function [[CreateWire - ObjectReference|CreateWire]](ObjectReference akRef, Form akSpline = None)
**Attach akSpline between two ObjectReferences, then enable and return the created spline.
*ObjectMod[] Function [[GetAllMods - ObjectReference|GetAllMods]]()
*ObjectMod[] Function [[GetAllMods - ObjectReference|GetAllMods]]()
**Returns all the mods for this reference.
**Returns all the mods for this reference.
*ConnectPoint[] Function [[GetConnectPoints - ObjectReference|GetConnectPoints]]()
**Returns all the connect points for this reference's 3D model.
*string Function [[GetDisplayName - ObjectReference|GetDisplayName]]()
**Returns the display name for this reference.
*Form[] Function [[GetInventoryItems - ObjectReference|GetInventoryItems]]()
**Returns all the inventory items for this reference.
*float Function [[GetInventoryWeight - ObjectReference|GetInventoryWeight]]()
**Returns inventory weight for this reference.
*bool Function [[TransmitConnectedPower - ObjectReference|TransmitConnectedPower]]()
**Links power to items connected by attach point.


== Events ==
== Events ==
Anonymous user