Template:I DynamicProp: Difference between revisions
Jump to navigation
Jump to search
m (Pinsplash moved page Template:I PropDynamicBase to Template:I DynamicProp) |
(uuuuuuuuuuuGHHHHHHHHHHHH updates) |
||
Line 1: | Line 1: | ||
{{ | {{minititle|DynamicProp}} | ||
{{IO|SetAnimation|param=string|Forces the prop to play the named animation.}} | |||
{{IO|SetDefaultAnimation|param=string|Changes the animation played when not in a random/forced sequence.}} | |||
{{IO|SetPlaybackRate|param=float|Sets the framerate at which animations are played.}} | |||
{{IO|TurnOff|Hides the prop through {{ent|EF_NODRAW}}. The <code>Disable</code> input does the exact same thing.}} | |||
{{IO|TurnOn|Shows the prop (by removing {{ent|EF_NODRAW}}). The <code>Enable</code> input does the exact same thing.}} | |||
{{IO|DisableCollision|Tells the prop to no longer be solid.}} | |||
{{IO|EnableCollision|Tells the prop to become solid again.}} | |||
{{IO|SetAnimationNoReset|param=string|since=AS|Force the prop to play an animation unless the prop is already playing the animation. The parameter should be the name of the animation.}} | |||
{{IO|FadeAndKill|since=P2|Fade out then remove this prop.}} | |||
{{IO|SetAnimationNoReset|Force the prop to play an animation unless the prop is already playing the animation. The parameter should be the name of the animation. | |||
{{IO| | |||
}} |
Revision as of 06:46, 12 September 2018
DynamicProp:
- SetAnimation <string>
- Forces the prop to play the named animation.
- SetDefaultAnimation <string>
- Changes the animation played when not in a random/forced sequence.
- SetPlaybackRate <float>
- Sets the framerate at which animations are played.
- TurnOff
- Hides the prop through EF_NODRAW. The
Disable
input does the exact same thing.
- TurnOn
- Shows the prop (by removing EF_NODRAW). The
Enable
input does the exact same thing.
- DisableCollision
- Tells the prop to no longer be solid.
- EnableCollision
- Tells the prop to become solid again.
- SetAnimationNoReset <string> (in all games since
)
- Force the prop to play an animation unless the prop is already playing the animation. The parameter should be the name of the animation.
- FadeAndKill (in all games since
)
- Fade out then remove this prop.