Get your own free workspace
View
 

ActorFeet

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

 

 

ActorFeet

Usage:

                ActorFeet(Actor)

Description:

The ActorFeet command returns the handle to the item in the specified actor's inventory feet 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 = ActorFeet(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.