Get your own free workspace
View
 

ActorXP

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

 

ActorXP

Usage:

                ActorXP(Actor)

Description:

The ActorXP command returns the current number of XP (experience) points an actor has. These are reset to zero whenever the actor level is changed with the SetActorLevel command.

Example:

                Function Main()
                        Result = ActorXP(Actor())
                        Output(Actor(), "You have " $+ Result $+ " experience points.")
                        Return()
                End Function

Comments (0)

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