ShowOff:OnWeaponHolster

From GECK
Jump to: navigation, search

An event handler added by the ShowOff NVSE Plugin version 1.80.

Description

This event runs whenever a weapon is holstered.

Dispatched Args

The 1st and only arg sent to handler UDFs is the Weapon.

GetSelf / GetSelfAlt will be the Actor who is holstering their weapon.

Syntax

Use SetEventHandler / SetEventHandlerAlt with the event name "ShowOff:OnWeaponHolster".

Handler Script

A skeleton handler script for this event:

scn OnWeaponHolsterUDF

begin Function { ref rWeapon }
     ref rActor = GetSelfAlt  
end

Example

SetEventHandler "ShowOff:OnWeaponHolster" OnWeaponHolsterUDF

See Also