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>DragoonWraith
(not a record variable function)
 
(2 intermediate revisions by one other user not shown)
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]]
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]