OnPlayerModArmorWeapon - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Event sent to the player when they modify armor or weapons.

Syntax[edit | edit source]

Event OnPlayerModArmorWeapon(Form akBaseObject, ObjectMod akModBaseObject)

Parameters[edit | edit source]

  • akBaseObject: the base object item created after modification
  • akModBaseObject: the base object used to do the modification

Examples[edit | edit source]

; Event is sent to the player
Event OnPlayerModArmorWeapon(Form akBaseObject, ObjectMod akModBaseObject)
  Debug.Trace(akBaseObject+ " created after using " + akModBaseObject)
endEvent

See Also[edit | edit source]