It is currently March 29th, 2024, 6:56 am
How to get a string value of a measure?
-
- Posts: 104
- Joined: September 18th, 2011, 6:37 am
- Location: Nanjing, China
How to get a string value of a measure?
Both "Measure:GetValue()" and "tostring(Measure:GetValue())" returns zero
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
-
- Posts: 12
- Joined: January 26th, 2012, 11:50 pm
- Location: Canada
Re: How to get a string value of a measure?
Code: Select all
local Measure = SKIN:GetMeasure("SomeMeasureName")
local String = Measure:GetStringValue()
Code: Select all
local String = SKIN:GetMeasure("SomeMeasureName"):GetStringValue()
I don't suffer from insanity, I enjoy it.