- Found in:
- Vanilla
eventOnPlayerModArmorWeapon(FormakBaseObject, ObjectModakModBaseObject)
Description
Wiki Description
Event sent to the player when they modify armor or weapons.
Documentation Comment
Received when player mods a weapon or armor in the menu.
Parameters
FormakBaseObject
CK Wiki Description
the base object item created after modification
ObjectModakModBaseObject
CK Wiki Description
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)
endEventAuto-Generated Example
Scriptname MyCoolScript extends Actor
event OnPlayerModArmorWeapon(Form akBaseObject, ObjectMod akModBaseObject)
Debug.trace("Event received - OnPlayerModArmorWeapon: akBaseObject = " + akBaseObject + " akModBaseObject = " + akModBaseObject)
endEventRelated Pages
- Actor
- Actor.OnPlayerModRobot(...)
