Difference between revisions of "EquipItem"

Jump to navigation Jump to search
350 bytes added ,  07:52, 15 January 2011
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Ez0n3
Line 1: Line 1:
=='''Description'''==
{{Function
[[EquipItem]] forces an actor to equip an item.  
|CSWikiPage = EquipItem
|origin = GECK1
|summary = [[EquipItem]] forces an actor to equip an item.  
|name = EquipItem
|returnType = void
|referenceType = [ActorRefID]
|arguments =
  {{FunctionArgument
  |Name = ObjectID
  |Type = ref
  |Optional = n
  }}{{FunctionArgument
  |Name = NoUnequipFlag
  |Type = int
  |Value = 0, 1
  |Optional = y
  }}{{FunctionArgument
  |Name = HideEquipMessage
  |Type = int
  |Value = 0, 1
  |Optional = y
  }}
|example = Player.EquipItem HuntingRifle 0 1
}}


=='''Syntax:'''==
==Notes==
[''ActorID''.]EquipItem ObjectID ''NoUnequipFlag'' ''HideEquipMessage''
 
=='''Parameters'''==
*If NoUnequipFlag = 1, actor (including the player) will be unable to unequip the item. Once the item is unequipped with the [[UnequipItem]] function, the item can be equipped and unequipped as normal.
*If NoUnequipFlag = 1, actor (including the player) will be unable to unequip the item. Once the item is unequipped with the [[UnequipItem]] function, the item can be equipped and unequipped as normal.
*If HideEquipMessage = 1, the item equipped message will be hidden from the player.
*If HideEquipMessage = 1, the item equipped message will be hidden from the player.
Line 11: Line 31:


==See Also==
==See Also==
[[Force an actor to equip new stuff]]
*[[Force an actor to equip new stuff]]


[[Category:Functions]]
[[Category:Functions]]
Anonymous user

Navigation menu