Get your own free workspace
View
 

SetItemHealth

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

 

 

SetItemHealth

Usage:

                SetItemHealth(Item, Health)

Description:

The SetItemHealth command sets the health (as a percentage) of an item retrieved using ActorHat, and similar commands.

Example:

                Function Main()
                        SetItemHealth(ActorHat(Actor()), 100)
                        Output(Actor(), "Your hat is repaired!")
                        Return()

                End Function

Comments (0)

You don't have permission to comment on this page.