Advertisement
jewalky

Untitled

Feb 6th, 2017
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. #include "zcommon.acs"
  2.  
  3. script 1 OPEN
  4. {
  5.     TagWait(1);
  6.     Ceiling_LowerByValue(1, 32, 96);
  7.     TagWait(1);
  8.     Ceiling_RaiseByValue(1, 32, 96);
  9.     Delay(35*4);
  10.     restart;
  11. }
  12.  
  13. script 2 OPEN
  14. {
  15.     Delay(0); // TagWait waits at least one tic
  16.     int len = (((96/32)*35)/8)*2-2; // not octics
  17.     Ceiling_LowerByValue(2, 32, 96);
  18.     Delay(len);
  19.     Ceiling_RaiseByValue(2, 32, 96);
  20.     Delay(35*4);
  21.     restart;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement