Difference between revisions of "Talk:GetObjectValue"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>TheImperialDragon
Line 1: Line 1:
==General Talk==
This looks sweet, but... Isn't there already a way for the game to detect this?  I know when you steal something that the value is added to your bounty... [[User:TheImperialDragon|The Imperial Dragon]] 05:41, 20 August 2006 (EDT)
<br>
<br>
<br>
<br>
<br>
<br>
<br>
==Glitches, Bugs, Etc...==
seems like there's a little glitch:
seems like there's a little glitch:


Line 4: Line 18:


Returns "1" although the Shield is LightArmor
Returns "1" although the Shield is LightArmor


== Bugged ==
== Bugged ==

Revision as of 04:41, 20 August 2006

General Talk

This looks sweet, but... Isn't there already a way for the game to detect this? I know when you steal something that the value is added to your bounty... The Imperial Dragon 05:41, 20 August 2006 (EDT)








Glitches, Bugs, Etc...

seems like there's a little glitch:

getov 151 LeatherShield

Returns "1" although the Shield is LightArmor

Bugged

I noticed that EVERY armor returns as 1, no matter if they're light or heavy :( --Mandrill 15:40, 19 August 2006 (EDT)


Hm... other armor works fine here (I'm in the process of making a sneak-tweaking mod)
if Greaves != player.GetEquippedObject 3        ; Player Changed Lower Body Armor
  set Greaves to player.GetEquippedObject 3		
  player.modav sneak GreavesPenalty
  set GreavesPenalty to 0
  if getov 151 Greaves == 1                     ; New armor-type = Heavy?
    set GreavesPenalty to getov 0 Greaves / -2  ; Decrease sneak by 1/2 weight		 
    player.modav sneak GreavesPenalty
    set GreavesPenalty to -GreavesPenalty
  endif
endif
When the player equips light greaves, nothing happens, when he equips heavy greaves, his sneak skill is reduced by half the weight of the armor
I use identical blocks for Upper Body and Boots, but when I use it for a Shield, the penalty is applied even when I equip light armor.
JOG 15:48, 19 August 2006 (EDT)