ActorAmulet
Usage:
ActorAmulet(Actor, Number)
Description:
The ActorAmulet command returns the handle to the item in the specified actor's inventory amulet slot. If there is no item in the slot, zero is returned. The handle can then be used with other item commands, such as ItemName to see which item is being worn.
The Number parameter is the amulet number to retrieve, and should be between one and two.
Example:
Function Main()
Result = ActorAmulet(Actor(), 2)
If (Result == 0)
Output(Actor(), "No item in slot!")
Else
Output(Actor(), "Item: " $+ ItemName(Result))
EndIf
Return()
End Function
Comments (0)
You don't have permission to comment on this page.