Difference between revisions of "SetScale"
Jump to navigation
Jump to search
imported>Fella |
imported>Haama (Standardized) |
||
Line 8: | Line 8: | ||
Notes | ==Notes== | ||
* The scale is limited in the range of 0.5 - 2.0. Higher or lower values are accepted, but have no effect beyond that range. | * The scale is limited in the range of 0.5 - 2.0. Higher or lower values are accepted, but have no effect beyond that range. |
Revision as of 18:27, 23 January 2008
Syntax:
SetScale float
Example:
SetScale 1.5
Sets the scale of the calling object to the specified amount: 1.0 being "normal size", 2.0 being twice normal size, etc.
Notes
- The scale is limited in the range of 0.5 - 2.0. Higher or lower values are accepted, but have no effect beyond that range.
- When used on a player in first person, changes do not affect the character's model when he switches to third person. Also, although this command does automatically change the point of view of the character while in first person, the camera does not move nearly as much as would be expected in most scaling operations.
- When called on NPCs, the value supplied is treated as a multiplier to the character's base scale, which is determined by the NPC's race. So calling setScale 1.5 on a High Elf, which has a base scale of 1.1, results in a scale of 1.65, and the same value will be returned by getScale.