Get your own free workspace
View
 

ActorRider

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

 

ActorRider

Usage:

                ActorRider(ActorHandle)

Description:

The ActorRider command returns a handle to the actor riding a specified actor. If the specified actor is not being ridden, 0 will be returned.

See ActorMount.

Example:

                Function Main()
                        Player = Actor()
                        Rider = ActorRider(Player)
                        If (Rider != 0)
                                Output(Player, "A " $+ Race(Rider) $+ " is riding on you!")
                        EndIf
                        Return()
                End Function

Comments (0)

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