Difference between revisions of "GetEquippedCurrentValue"
no edit summary
imported>JOG (See Also) |
imported>WereWolf |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
GetEquippedCurrentvalue ValueType SlotID | |||
GetECV Valuetype SlotID | GetECV Valuetype SlotID | ||
Returns the requested current value from the extra information for the reference. Returns 0 if the value type doesn't match (asking a weapon for an armor rating or clothing for a health value) Returns the base value if the value is not changed from the base. Currently only health, charge and poison will return a different value than [[GetEquippedObjectValue|GetEOV]]. | Returns the requested current value from the extra information for the reference. Returns 0 if the value type doesn't match (asking a weapon for an armor rating or clothing for a health value) Returns the base value if the value is not changed from the base. Currently only health, charge and poison will return a different value than [[GetEquippedObjectValue|GetEOV]]. | ||
'''Example:''' | '''Example:''' | ||
if player.getecv 2 16 <= 0.3 * player.geteov 2 16 | if player.getecv 2 16 <= 0.3 * player.geteov 2 16 | ||
message "Your current weapon is down to 30% health, you should repair it." | message "Your current weapon is down to 30% health, you should repair it." | ||
Line 21: | Line 18: | ||
'''See Also:''' | '''See Also:''' | ||
*[[GetEquippedObjectValue]] | |||
*[[GetCurrentValue]] | |||
*[[GetObjectValue]] | |||
[[Category:Deprecated Functions (OBSE)]] | |||
[[Category: | |||