Skip to Content
It is currently August 8th, 2020, 12:45 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Clockwheel question
PostPosted: November 12th, 2014, 3:31 pm 
Offline
New User
New User

Joined: November 12th, 2014, 3:21 pm
Posts: 1
I am a bit of a newbie so forgive me if this has been asked. I have the following rotation:

Code:
Cat['Top Of Hour'].QueueBottom(smRandom, NoRules);
Cat['Recurrent'].QueueBottom(smWeighted, EnforceRules);
Cat['Gold'].QueueBottom(smWeighted, EnforceRules);
Cat['Gold'].QueueBottom(smRandom, EnforceRules);
Cat['Christmas_Tease'].QueueBottom(smRandom, NoRules);
Cat['New'].QueueBottom(smRandom, NoRules);
Cat['PSA1'].QueueBottom(smRandom, NoRules);
Cat['PSA2'].QueueBottom(smRandom, NoRules);
Cat['ID'].QueueBottom(smRandom, NoRules);
Cat['Hot'].QueueBottom(smRandom, EnforceRules);
Cat['Power'].QueueBottom(smRandom, EnforceRules);
Cat['Top Of Hour'].QueueBottom(smRandom, NoRules);
Cat['Gold'].QueueBottom(smLRP, EnforceRules);
Cat['Recurrent'].QueueBottom(smRandom, EnforceRules);
Cat['Hot'].QueueBottom(smRandom, EnforceRules);
Cat['PSA1'].QueueBottom(smRandom, NoRules);
Cat['PSA2'].QueueBottom(smRandom, NoRules);
Cat['ID'].QueueBottom(smRandom, NoRules);
Cat['Recurrent'].QueueBottom(smLRP, EnforceRules);
Cat['Power'].QueueBottom(smRandom, EnforceRules);
Cat['Gold'].QueueBottom(smWeighted, EnforceRules);
Cat['Top Of Hour'].QueueBottom(smRandom, NoRules);
Cat['New'].QueueBottom(smRandom, NoRules);
Cat['Power'].QueueBottom(smRandom, EnforceRules);
Cat['Recurrent'].QueueBottom(smRandom, EnforceRules);
Cat['Recurrent'].QueueBottom(smWeighted, EnforceRules);
Cat['Gold'].QueueBottom(smLRPA, EnforceRules);
Cat['Gold'].QueueBottom(smWeighted, EnforceRules);
Cat['Recurrent'].QueueBottom(smWeighted, EnforceRules);


So this rotation plays fine. The problem I have is that when the top of the hour hits, I want it to rotate back to the top of the hour (I intentionally made it long), no matter where it is in this rotation.

Is there a way to do this?

Thanks!


Last edited by Mastacheata on November 12th, 2014, 4:35 pm, edited 1 time in total.
Wrapped your clockwheel code in [code][/code] tags. Please use these yourself next time you post ANY code.


Top
 Profile  
Reply with quote  
 Post subject: Re: Clockwheel question
PostPosted: November 12th, 2014, 4:26 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8044
Location: Aachen (Germany)
Use the Event Scheduler to schedule a new Clockwheel at the top of each hour.
The "new" Clockwheel can just as well be the same thing over and over again, but this is the only way to reset the progress of the clockwheel in an automated fashion. (The other chance is to change the rotation settings and edit the clockwheel by hand or switching to a completely different rotation system)

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
 Post subject: Re: Clockwheel question
PostPosted: November 15th, 2014, 8:10 am 
Offline
SVS Member
SVS Member

Joined: May 8th, 2004, 9:00 am
Posts: 10504
Location: Denver, CO
You can also add queue.clear; command to a clockwheel if you want to truly "start over" with after loading the clockwheel at the top of the hour

_________________
- Rob Oyler, SVS
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group