GetWeaponEntity (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Returns the entity of the weapon which the player is currently carrying.

Usage

entity getWeaponEntity( )

Parameters

None.

Examples

$player1.getWeaponEntity();

Notes

None.