Serenity3D [RCBasic Doc]

## Serenity3D Groups API

Function Serenity_GetGroupCount()

- Returns the number of groups in the current stage

Function Serenity_GetGroupIndex(group_name$)

- Returns the Serenity Group index from the group name or -1 if group does not exists in current stage

Function Serenity_GetGroupName$(group_index)

- Returns the group name

Function Serenity_GetActorIndexFromGroup(group_index, group_actor_index)

- Returns the actor index based on its order in a group
- NOTE: This is mainly used for when you want to loop through all the actors in a group