GBX.lua.FlagStand (Object): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Class reference}} The FlagStand is like a Part, but it holds a Flag on it. If the player carrying a flag steps ont...")
 
mNo edit summary
 
Line 67: Line 67:
*[[Touched (Event)|Touched]]
*[[Touched (Event)|Touched]]


[[Category:Goodblox Lua Objects]]
[[Category:GoodBlox Lua Objects]]

Latest revision as of 20:04, 23 September 2021

The FlagStand is like a Part, but it holds a Flag on it.

If the player carrying a flag steps onto another FlagStand of a different team color, the flag will be removed from the player's backpack and a point will be added to the team. The flag will then regenerate at the originating flag stand.

Functions

In addition to the global functions, the FlagStand also has the following functions:

Properties

In addition to the global properties, the FlagStand also has these properties:

Surfaces

Since the FlagStand is a 3D rendered object, it has surface properties and inputs. There is a Parameter A, B a Surface and a SurfaceInput for each of the 6 sides (Back, Bottom, Front, Left, Right, and Top). Since they all work the same, they are only documented once:

Events

In addition to the global events, the FlagStand also has these: