FlagStand

Show Deprecated
Deprecated

The Flag and FlagStand objects were created to allow developers to make 'Capture the Flag' style games quickly. However they have been deprecated and developers are advised to design their own systems which will be more flexible and reliable.

To get started with this, developers can use the 'Capture The Flag' template place provided by Roblox which has a fully functioning system developers can take and use in their own games. A link to the place, which is free to edit, is here.

Summary

Properties

The Team that owns the FlagStand. Corresponds with the TeamColors in the Teams service.

Events


Fires when a player bearing an opposing flag, and having the same Player.TeamColor as the stand, touches the FlagStand.

Methods

Properties

TeamColor

The Team that owns the FlagStand. Corresponds with the TeamColors in the Teams service.

The Flag and FlagStand objects were created to allow developers to make 'Capture the Flag' style games quickly. However they have been deprecated and developers are advised to design their own systems which will be more flexible and reliable.

To get started with this, developers can use the 'Capture The Flag' template place provided by Roblox which has a fully functioning system developers can take and use in their own games. A link to the place, which is free to edit, is here.

Events

FlagCaptured

This event fires when a player bearing an opposing flag, and having the same Player.TeamColor as the stand, touches the FlagStand.

The Flag and FlagStand objects were created to allow developers to make 'Capture the Flag' style games quickly. However they have been deprecated and developers are advised to design their own systems which will be more flexible and reliable.

To get started with this, developers can use the 'Capture The Flag' template place provided by Roblox which has a fully functioning system developers can take and use in their own games. A link to the place, which is free to edit, is here.

Parameters

player: Instance

Methods