Prop scaleable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{wrongtitle|title=prop_scaleable}}
#REDIRECT  [[Prop scalable]]
{{stub}}
This point based [[entity]] is available in only [[Half-Life 2: Episode Two]].
 
Creates a [[model]] that can be scaled through inputs. Can be scaled over time to create a gradual scaling effect.
 
== See also ==
* [[Prop Types Overview]]
 
== Keyvalues ==
* '''Name'''
: <[[string]]> Name of entity
* {{kv studiomodel}}
* '''Skin'''
: <[[integer]]> Skin of model
* {{kv angles}}
 
== Outputs ==
* [[OnIgnite]]
* [[OnUser1-4]]
 
==Usage==
You can fire several inputs to a prop_scaleable. The only one that is used by Valve is:
* SetScaleX <Integer>
* SetScaleY <Integer>
* SetScaleZ <Integer>
 
This sets the scale of the X Y and Z. Since this entity can be scaled over time, you must specify this in the input.
For example,
SetScaleX 10000.0 2
Would make it scale 10,000 times it's current size over a period of two seconds.

Latest revision as of 09:28, 30 September 2008

Redirect to: