Difference between revisions of "Func platrot"
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
Thunder4ik (talk | contribs) m (→See also: Unicodifying, replaced: See Also → See also) |
||
Line 20: | Line 20: | ||
{{I BasePlat}} | {{I BasePlat}} | ||
− | == See | + | == See also == |
[[func_plat]] | [[func_plat]] |
Latest revision as of 09:36, 8 January 2024
class hierarchy |
---|
CFuncPlatRot defined in trains.cpp
|
func_platrot
is a brush entity available in all Source games. It moves vertically, and can rotate while doing so.
KeyValues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Movement Sound
(noise1)
<sound> - The sound to play when the brush moves.
- Stop Sound
(noise2)
<sound> - The sound to play when the brush stops moving.
- Speed of Rotation
(speed)
<integer> - Speed at which the brush rotates, in degrees per second.
- Travel Altitude
(height)
<integer> - The vertical distance from the starting position that this platform moves. If negative, the platform will lower.
- Spin amount
(rotation)
<integer> - The amount this platform should rotate as it moves, in degrees.
Flags
- [
1
] : Toggle
- [
64
] : X Axis
- [
128
] : Y Axis
Inputs
BasePlat:
Toggle
- Toggles the platform's state.
GoUp
- Tells the platform to go up.
GoDown
- Tells the platform to go down.