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

From Legacy Roblox Wiki
Jump to navigationJump to search
new format
>Mindraker
mNo edit summary
>Camoy
(new format)
Line 1: Line 1:
{{CatUp|Class reference}}
{{ObjectPage|name=FlagStand|The FlagStand is like a [[Part]], but it holds a [[Flag]] on it.


The FlagStand is like a [[RBX.lua.Part (Object)|Part]], but it holds a [[RBX.lua.Flag (Object)|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.}}
 
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:
 
* [[BreakJoints]]
* [[GetMass]]
* [[MakeJoints]]
 
 
==Properties==
In addition to the global properties, the FlagStand also has these properties:
 
*[[Anchored]]
*[[BrickColor]]
*[[CFrame]]
*[[CanCollide]]
*[[Controller]]
*[[ControllerFlagShown]]
*[[Elasticity]]
*[[Friction]]
*[[Locked]]
*[[Position]]
*[[Reflectance]]
*[[RotVelocity]]
*[[Shape]]
*[[Size]]
*[[TeamColor]]
*[[Transparency]]
*[[Velocity]]
*[[formFactor]]
 
==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:
 
*[[BackParamA]]
*[[BackParamB]]
*[[BackSurface]]
*[[BackSurfaceInput]]
 
*[[BottomParamA]]
*[[BottomParamB]]
*[[BottomSurface]]
*[[BottomSurfaceInput]]
 
*[[FrontParamA]]
*[[FrontParamB]]
*[[FrontSurface]]
*[[FrontSurfaceInput]]
 
*[[LeftParamA]]
*[[LeftParamB]]
*[[LeftSurface]]
*[[LeftSurfaceInput]]
 
*[[RightParamA]]
*[[RightParamB]]
*[[RightSurface]]
*[[RightSurfaceInput]]
 
*[[TopParamA]]
*[[TopParamB]]
*[[TopSurface]]
*[[TopSurfaceInput]]
 
==Events==
In addition to the global events, the FlagStand also has these:
 
* [[FlagCaptured]]
* [[OutfitChanged]]
* [[Touched]]
 
[[Category:ROBLOX Lua Objects]]
Anonymous user

Navigation menu