Get your own free workspace
View
 

ActorHands

Page history last edited by Gamemaster 3 years, 9 months ago

 

 

ActorHands

Usage:

                ActorHands(Actor)

Description:

The ActorHands command returns the handle to the item in the specified actor's inventory hands 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.

Example:

                Function Main()
                        Result = ActorHands(Actor())
                        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.