Difference between revisions of "ModWeaponReach"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender '''Syntax:''' (nothing) ''reference.''SetWeaponReach nuReach:float ''objectID:ref'' Sets the reach of the w...)
 
imported>WereWolf
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (nothing) ''reference.''SetWeaponReach nuReach:float ''objectID:ref''
  (nothing) ''reference.''ModWeaponReach modifyBy:float ''objectID:ref''


Sets the reach of the weapon.
Modifies the reach of the weapon up or down.


'''Example:'''
'''Example:'''
  ref weapon
  ref weapon
  set weapon to player.[[GetEquippedObject]] 16
  set weapon to player.[[GetEquippedObject]] 16
  SetWeaponReach 120 weapon
  ModWeaponReach +100 weapon
Sets player's equipped weapon reach to 120.
Increase player's equipped weapon reach in 100.


==See Also==
==See Also==
*[[GetWeaponReach]]
*[[GetWeaponReach]]
*[[ModWeaponReach]]
*[[SetWeaponReach]]


[[Category:Functions]]
[[Category:Functions]]

Revision as of 03:34, 15 September 2007

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