Get your own free workspace
View
 

OpenTrading

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

 

OpenTrading

Usage:

                OpenTrading(ActorA, ActorB)

Description:

The OpenTrading command will open a trading window between two actors. This is mainly useful to allow players to buy things from or sell things to NPCs. NPCs will only trade items previously added to their inventory with the GiveItem command.

ActorA must be a player character. ActorB may be a player character or NPC.

Example:

                Function Main()
                        OpenTrading(Actor(), ContextActor())
                        Return()
                End Function

Comments (0)

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