Get your own free workspace
View
 

SetActorGroup

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

 

SetActorGroup

Usage:

                SetActorGroup(Actor, GroupID)

Description:

The SetActorGroup command allows you to change the group an actor is in, for the /g in-game command. When a player sends a /g message, it will be sent to all other players with the same GroupID. An ID of zero means that the actor is not in a group. This command can be used in the creation of guild systems or similar.

GroupID should be an integer between 0 and 65535.

Example:

                Function Main()
                        // Add the player to group 5
                        SetActorGroup(Actor(), 5)
                        Return()
                End Function

Comments (0)

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