Welcome to PenUltima Online. Click to login or register.

Functions:

EquipItem( mobile, item )
Parameters:
Name Type
mobile Character Reference
item Item Reference
Explanation
Equips an item on a mobile.
Notes: If item is in a container, it will be removed from the container.
"Equippable" means that the character does not have a similar item equipped, and that the item is an equipment-type item.
Carrying-capacity and strength requirements will fall under this category as well.
To "unequip" an item, move it to another location (typically a backpack)
Runs the Item's Equiptest and Equip scripts, if any.
Return values
1 if the item was equipped succesfully
0 if the item's Equip script returned false
Errors
"That is immobile"
"That item is being used."
"That item is not equippable by that character" if equiptest script failed.
"Invalid parameter type"
Related
Character
Item