ShowOff:OnWeaponUnholster

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 unholstered.

Dispatched Args

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

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

Syntax

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

Handler Script

A skeleton handler script for this event:

scn OnWeaponUnholsterUDF

begin Function { ref rWeapon }
     ref rActor = GetSelfAlt  
end

Example

SetEventHandler "ShowOff:OnWeaponUnholster" OnWeaponUnholsterUDF

See Also