Difference between revisions of "ModWeaponReach"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>DragoonWraith
(not a record variable function)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
  ref weapon
  ref weapon
  set weapon to player.[[GetEquippedObject]] 16
  set weapon to player.[[GetEquippedObject]] 16
  ModWeaponReach +100 weapon
  ModWeaponReach 100 weapon
Increase player's equipped weapon reach in 100.
Increase player's equipped weapon reach in 100.


Line 20: Line 20:
[[Category:Inventory Functions]]
[[Category:Inventory Functions]]
[[Category:Inventory Functions (OBSE)]]
[[Category:Inventory Functions (OBSE)]]
[[Category:Record Variable Functions]]
[[Category:Record Variable Functions (OBSE)]]

Latest revision as of 20:52, 21 March 2008

A command for Oblivion Script Extender

Syntax:

(nothing) reference.ModWeaponReach modifyBy:float objectID:ref

Modifies the reach of the weapon up or down.

Example:

ref weapon
set weapon to player.GetEquippedObject 16
ModWeaponReach 100 weapon

Increase player's equipped weapon reach in 100.

See Also[edit | edit source]