Difference between revisions of "Weapon Script"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>ShadeMe (Add missing F4SE member functions) |
||
Line 23: | Line 23: | ||
*Ammo Function [[GetAmmo - Weapon|GetAmmo]]() | *Ammo Function [[GetAmmo - Weapon|GetAmmo]]() | ||
**Gets the ammo used by this weapon. | **Gets the ammo used by this weapon. | ||
== F4SE Member Functions == | |||
*ObjectMod Function [[GetEmbeddedMod - Weapon|GetEmbeddedMod]]() | |||
**Gets this weapon's embedded mod. | |||
*[[Owner Struct - InstanceData|Owner]] Function [[GetInstanceOwner - Weapon|GetInstanceOwner]]() | |||
**Gets this weapon's InstanceData owner. | |||
*Function [[SetEmbeddedMod - Weapon|SetEmbeddedMod]](ObjectMod akMod) | |||
**Sets this weapon's embedded mod. | |||
== Events == | == Events == | ||
None | None |
Revision as of 01:33, 22 October 2017
Extends: Form Script (Papyrus)
Script for the manipulation of weapon base objects.
Definition
ScriptName Weapon extends Form Native Hidden
Properties
None
Global Functions
None
Member Functions
- Function Fire(ObjectReference akSource, Ammo akAmmo)
- Fires this weapon from the specified source object.
- Ammo Function GetAmmo()
- Gets the ammo used by this weapon.
F4SE Member Functions
- ObjectMod Function GetEmbeddedMod()
- Gets this weapon's embedded mod.
- Owner Function GetInstanceOwner()
- Gets this weapon's InstanceData owner.
- Function SetEmbeddedMod(ObjectMod akMod)
- Sets this weapon's embedded mod.
Events
None