--


  << Previous Topic | Next Topic >>Return to Index  

ZOC Question

December 16 2001 at 8:47 PM
Jama 

-
I just wanted to know the name of the function that displays a window that you can use to actively count down in zoc... For example in the tcolonize zoc script available in Attac's downloads, there is a counter the counts down from how many turns you gave it to run... The code is compiled so I cant see the Source... Seems difficult.. would i need to make a thread to do something like that? Thanks for your help.

Jama

 
 Respond to this message   
AuthorReply

re: Zoc Question

December 16 2001, 11:01 PM 

First, I'm not sure what you mean by "The code is compiled" There is no such thing as compiled scripts for ATTAC. Clicking on the link should bring up the source code.

Second, are you talking about when it asks "How many loops should be do?"? If so, here's what it's doing.

loops = ZocAsk("How many loops should we do?", "")

DO x = loops to 1 BY -1
  /* Doing something in here. Will do this loops times */
  /* x will hold the number of times left to run the loop */
END

 
 Respond to this message   
Current Topic - ZOC Question
  << Previous Topic | Next Topic >>Return to Index  
Find more forums on Tradewars 2002Create your own forum at Network54
 Copyright © 1999-2008 Network54. All rights reserved.   Terms of Use   Privacy Statement