GetWeaponReach

From the Oblivion ConstructionSet Wiki
Revision as of 00:32, 13 July 2008 by imported>Quetzilla
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(reach:float) reference.GetWeaponReach objectID:ref

Returns the weapon reach.

Example:

ref weapon
float weaponreach
set weapon to player.GetEquippedObject 16
set weaponreach to GetWeaponReach weapon

Gets player's equipped weapon reach.

See Also