- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Not sure what is happening here.
This works fine fromm the Script Listener.
I run this function
fn TimeFromSolarTime daylightSystem =
(
local solar_time = daylightSystem.controller.solar_time.controller.value
local hrs = int solar_time
local min = int ((solar_time-hrs)*60)
local sec = int ((solar_time-hrs-min/60.0)*3600 + 0.5)
#(hrs,min,sec)
)
$Text001.text = TimeFromSolarTime $Daylight01 as string
And the text updates to the value of #(hrs,min,sec)
As long as you have a daylight system and a piece of text this works from the listerner.
In track view I find the kerning property for this text001
and assign a float expression
I put the same in for the expression box
$Text001.text = TimeFromSolarTime $Daylight01 as string
I get an error parsing ...
with a $
I've done this in the past with different functions like mph and it always seemed to work.
Any ideas would be much appreciated.
Solved! Go to Solution.