Difference between revisions of "EquipItemNS"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Actor rather than container)
imported>XJDHDR
(Edits to take account of OBSE's new no-spam commands.)
 
(3 intermediate revisions by 3 users not shown)
Line 5: Line 5:
  ''actor:ref.''EquipItemNS item:base count:long
  ''actor:ref.''EquipItemNS item:base count:long


Spamless version of [[EquipItem]].
OBSE version of [[EquipItem]] that does not create [[Message Spam]].


==Notes==
== Notes ==
*Still makes the same '''EquipItem''' sound. See [[Message Spam]] for techniques that won't make the sound.
* Still makes the same '''EquipItem''' sound. See [[Message Spam]] for techniques that won't make the sound.
* EquipItemNS will not work if there is already an item in that slot that has been equipped with the NoUnequipFlag set. This can be useful for determining whether or not that flag has been set. Use [[UnequipItem]] or [[UnequipItemNS]] to remove such an item before using EquipItem.


== See Also ==
== See Also ==
* [[EquipItem]]
* [[EquipItemSilent]]
* [[UnequipItem]]
* [[UnequipItemNS]]
* [[UnequipItemNS]]
* [[UnequipItemSilent]]


[[Category: Functions]]
[[Category: Functions]]
Line 17: Line 22:
[[Category: Inventory Functions]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (OBSE)]]
[[Category: Inventory Functions (OBSE)]]
[[Category: Spamless Functions (OBSE)]]

Latest revision as of 13:17, 23 August 2011


A command for Oblivion Script Extender

Syntax:

actor:ref.EquipItemNS item:base count:long

OBSE version of EquipItem that does not create Message Spam.

Notes[edit | edit source]

  • Still makes the same EquipItem sound. See Message Spam for techniques that won't make the sound.
  • EquipItemNS will not work if there is already an item in that slot that has been equipped with the NoUnequipFlag set. This can be useful for determining whether or not that flag has been set. Use UnequipItem or UnequipItemNS to remove such an item before using EquipItem.

See Also[edit | edit source]