Difference between revisions of "EquipItem"
Jump to navigation
Jump to search
no edit summary
imported>Ez0n3 |
imported>Yukichigai |
||
Line 29: | Line 29: | ||
*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. | ||
*In the case that the player has multiples of the specified item, it would appear that the item of lowest condition is the one equipped. If EquipItem is called on the same actor and in the same frame as [[AddItem]] or [[AddItemHealthPercent]], however, the last item added is equipped instead. | *In the case that the player has multiples of the specified item, it would appear that the item of lowest condition is the one equipped. If EquipItem is called on the same actor and in the same frame as [[AddItem]] or [[AddItemHealthPercent]], however, the last item added is equipped instead. | ||
*[[Ingestible]]s can be passed as the item to equip, resulting in the actor consuming the indicated item as normal, provided they have at least one in their inventory. The item is treated as though it were used normally, e.g. effects for food and aid items will scale with the player's Survival and Medicine skills respectively, and there is a possibility the player can become addicted if they use an addictive substance. | |||
==See Also== | ==See Also== |