Get your own free workspace
View
 

GiveItem

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

 

GiveItem

Usage:

                GiveItem(Actor, Name, Amount)

Description:

The GiveItem command adds the given item to an actor's inventory. The Amount value can be negative to take items away, if present. Use HasItem to check if items are present first.

Example:

                Function Main()
                        // Give the player a weapon
                        GiveItem(Actor(), "Razor Mace", 1)
                        Return()
                End Function

Comments (0)

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