Difference between revisions of "SetEquippedWeaponPoison"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Oops, not type...)
imported>Haama
(Updated potion-poison notes)
Line 6: Line 6:
*Using [[SetEquippedWeaponPoison]] when the reference doesn't have a poison-able weapon (hand to hand or staves) is the same as a [[Return]].
*Using [[SetEquippedWeaponPoison]] when the reference doesn't have a poison-able weapon (hand to hand or staves) is the same as a [[Return]].
*You can set a potion to a weapon, as well as poisons.
*You can set a potion to a weapon, as well as poisons.
**Unlike poisons, the effects will be applied directly to the player (both positive and negative effects).
**Unlike poisons, the effects will be applied directly to the player (both positive and negative effects). However, for blade/blunt you will have to hit a living NPC before the effects will be applied.
**Untested for blade/blunt, but for bows the effects will be applied whenever the arrow hits something, not just when it hits an NPC.
**For bows the effects will be applied whenever the arrow hits something, not just when it hits an NPC.
**It's not clear whether this counts towards the player's active potions limit - the effects of a single poison could be applied more than 4 times (with multiple poison applications and hits), but whether 5 different potions can affect the player hasn't been tested.
**This will count towards your potion limit, but:
**#You can go above the potion limit (if you have drunk 4 potions, the effects will still be applied)
**#If you use the same potion over and over (before the first one runs out), it will only count as 1 potion.


==See Also==
==See Also==

Revision as of 17:07, 4 September 2007

SetEquippedWeaponPoison - sets the poison applied to the equipped weapon and returns the previous poison. Called on the weapon holder.

(oldPoison:ref) reference.SetEquippedWeaponPoison nuPoison:ref

Notes

  • Poison means the base object item.
  • Using SetEquippedWeaponPoison when the reference doesn't have a poison-able weapon (hand to hand or staves) is the same as a Return.
  • You can set a potion to a weapon, as well as poisons.
    • Unlike poisons, the effects will be applied directly to the player (both positive and negative effects). However, for blade/blunt you will have to hit a living NPC before the effects will be applied.
    • For bows the effects will be applied whenever the arrow hits something, not just when it hits an NPC.
    • This will count towards your potion limit, but:
      1. You can go above the potion limit (if you have drunk 4 potions, the effects will still be applied)
      2. If you use the same potion over and over (before the first one runs out), it will only count as 1 potion.

See Also