Page 1 of 1

HC.FixturePark

Posted: Sun Sep 06, 2015 9:54 am
by gooze
The script

Code: Select all

HC.FixturePark('100')
results in fixture 110 being parked instead of fixture 100.

Furthermore I would like to make a script where the fixture gets Unparked if the fixture was already parked (a Park toggle so to say). Is there a HC.Get command that gives back the park status of a fixture?

Re: HC.FixturePark

Posted: Tue Sep 08, 2015 11:13 am
by BobbyHarrell
As I didn't know the issue here I reached out to Brian Evans. Here is his response...

This one is a confusing syntax issue.
HC.FixturePark('#100')
Wil do what he wants.

If you leave out the #, it is an index number.
So he most likely has fixtures deleted in the range between 1 and 100,
Because
HC.FixturePark('0')
Is actually fixture 1 in a contiguous patch.

Re: HC.FixturePark

Posted: Thu Sep 17, 2015 1:08 pm
by gooze
It seems that the example script (the one that you get when you insert a script) needs to adapted to reflect this (rather counter-intuitive) behaviour.