StarterGear
If the game allows gear, StarterGear is a container automatically inserted
into each Player object when the player joins the game. Whenever the
player's character spawns, the contents of that player's StarterGear are
copied into the player's Backpack.
| Memory category | Instances |
|---|
Member index 0
Description
When a player spawns, the contents of that player's StarterGear is copied
into the player's Backpack. Additionally, if the game allows gear, all
of the appropriate gear Tools that the player owns are inserted
into that player's StarterGear.
Unlike StarterPack, StarterGear isn't a service but rather a child
of each Player object, so its contents are player‑specific. Whether or
not gear can be permitted is determined in a place's Permissions settings.
You can enable gear by its genre or choose specific types to allow. To disable
gear, ensure all the gear types are unselected.
Listening to the Players.PlayerAdded event from a server
Script is useful for accessing StarterGear:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Gameplay Considerations
Always test experiences after adding gear to them to check that users can't easily abuse them there. Gear may include Script objects which allow the player to perform actions that you might not consider; for example, navigational gear might allow the player to access a part of the map that you don't want them to, and weapon gear may allow the holder to damage other players, possibly without retribution or retaliation.
History 1
- 47 Add StarterGear