OnPlayerModArmorWeapon - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

Event OnPlayerModArmorWeapon(Form akBaseObject, ObjectMod akModBaseObject)

Parameters

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

Examples

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

See Also