Background for Skyrim SE
Member of the ObjectReference script
floatfunctionGetScale()Native

Description

Wiki Description

Returns the current scale of this reference.

Documentation Comment

Get the current scale of the object


Caveats

CK Wiki - Notes

  • Internally, a reference's scale is stored as an integer percentage (i.e. 100 for normal size; 200 for double-sized). This function returns that scale value divided by 100 (with additional multipliers for actors). This means that a reference's scale cannot be gotten or set to a precision of more than 0.01.

Examples

Debug.Trace("The box has a scale of: " + box.GetScale())

Auto-Generated Example

float returnedValue = myObjectReference__toCallFunctionOn.GetScale()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.