SetScale - ObjectReference

Revision as of 13:53, 11 November 2011 by imported>Cdcooley (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Sets the object's current scale.

SyntaxEdit

Function SetScale(float afScale) native

ParametersEdit

  • afScale: The overall scale of the object

Return ValueEdit

None.

ExamplesEdit

; Set the statue to be twice as big as the original art size
StatueProperty.SetScale(2.0)

See AlsoEdit