Timeline question
TUTech
Posts: 70
This works:
TIMELINE_EVENT[TL_Warming]
{
STACK_VAR INTEGER nCount
nCount = 30
SEND_COMMAND dvTP_Projector,"'^TXT-13,0,',itoa(nCount-timeline.repetition)";
IF (timeline.repetition * timeline.time > nCount * 1000)
{
TIMELINE_KILL(TL_Warming)
}
}
This doesn't:
IF(timeline.repetition > nCount)
{
Timeline_Kill(TL_Warming)
}
It's the same thing????
TIMELINE_EVENT[TL_Warming]
{
STACK_VAR INTEGER nCount
nCount = 30
SEND_COMMAND dvTP_Projector,"'^TXT-13,0,',itoa(nCount-timeline.repetition)";
IF (timeline.repetition * timeline.time > nCount * 1000)
{
TIMELINE_KILL(TL_Warming)
}
}
This doesn't:
IF(timeline.repetition > nCount)
{
Timeline_Kill(TL_Warming)
}
It's the same thing????
0
Comments
If your goal is to create a 30 second counter just make the array TL_Time[]={1000}, create the TL so it repeats, use if(timeline.repetition>30){ // kill it} and call it done.