Func plat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Keyvalues) |
||
Line 29: | Line 29: | ||
:<sound> The sound to play when the brush stops moving. | :<sound> The sound to play when the brush stops moving. | ||
*'''speed''' | *'''speed''' | ||
:<integer> Speed at which the brush | :<integer> Speed at which the brush moves. | ||
* '''lip''' | * '''lip''' | ||
: <float> The amount, in inches, of the button to leave sticking out of the wall it recedes into when pressed. Negative values make the button recede even further into the wall." | : <float> The amount, in inches, of the button to leave sticking out of the wall it recedes into when pressed. Negative values make the button recede even further into the wall." |
Revision as of 20:54, 16 April 2006
Entity Description
FGD Code
@SolidClass base(BasePlat) = func_plat : "A brush entity that moves vertically, and can rotate while doing so." [ spawnflags(flags) = [ 1: "Toggle" : 1 ] noise1(sound) : "Movement Sound" : : "The sound to play when the brush moves." noise2(sound) : "Stop Sound" : : "The sound to play when the brush stops moving." speed(float) : "Speed" : "50.000000" : "Speed at which the brush moves" lip(float) : "Lip" : "0.000000" : "The amount, in inches, of the button to leave " + "sticking out of the wall it recedes into when " + "pressed. Negative values make the button recede " + "even further into the wall." ]
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv origin
- Template:Kv angles
- Template:Kv renderfields
- Template:Kv shadow
- noise1
- <sound> The sound to play when the brush moves.
- noise2
- <sound> The sound to play when the brush stops moving.
- speed
- <integer> Speed at which the brush moves.
- lip
- <float> The amount, in inches, of the button to leave sticking out of the wall it recedes into when pressed. Negative values make the button recede even further into the wall."
Flags
- 1 : Toggle
Inputs
- Template:I targetname
- Template:I parentname
- BasePlat:
- Toggle
- Toggles the platform's state.
- GoUp
- Tells the platform to go up.
- GoDown
- Tells the platform to go down.