Get your own free workspace
View
 

ActorLeader

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

 

ActorLeader

Usage:

                ActorLeader(Actor)

Description:

The ActorLeader command returns 'owner' of an specified actor. If the actor is not a pet, the command returns 0. Otherwise, an actor handle will be returned. You can set the leader of an actor with the SetLeader command.

Example:

                Function Main()
                        SetLeader(ContextActor(), Actor())
                        Output(Actor(), "You gained a pet!")
                        Return()
                End Function

Comments (0)

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