Welcome to PenUltima Online. Click to login or register.

Functions:

Accessible( Character, item )
Parameters:
Name Type
Character Character Reference
item Item Reference
Explanation
Function: Determines if an item falls into one of the following categories for a character:
An item on the ground, within two squares
An item equipped by the character
An item inside the character's backpack
A temporarily accessible item
Notes: Does not check that character has line-of-sight to item.
Return values
0 if item does not fall into one of the above categories, 1 if the item does.
Errors
none
Related
Item
Character