Tag: sourceedit |
Tag: sourceedit |
||
Line 10: | Line 10: | ||
=== {{property|name=AllowTeamChangeOnTouch|type=bool}} === |
=== {{property|name=AllowTeamChangeOnTouch|type=bool}} === |
||
− | If set to true, {{Class link|Player}}s who touch this spawn will automatically change to the |
+ | If set to true, {{Class link|Player}}s who touch this spawn will automatically change to the {{Class link|Team}} that has this spawn's [[#TeamColor|TeamColor]]. |
=== {{property|name=Duration|type=int}} === |
=== {{property|name=Duration|type=int}} === |
Revision as of 10:58, 27 April 2017
The SpawnLocation class inherits from Part.
Properties
This class has five properties.
AllowTeamChangeOnTouch: bool
If set to true, Players who touch this spawn will automatically change to the Team that has this spawn's TeamColor.
Duration: int
The amount of time that a ForceField will stay on a player after spawning at this spawn. Set to 0 for no forcefield.
Enabled: bool
Whether or not Players can spawn at this spawn.
Neutral: bool
If set to true, this spawn belongs to no team and any team can spawn here.
TeamColor: BrickColor
The team this spawn belongs to. Corresponds with a TeamColor of a Team in the Teams service.