SLIC-Reference : Functions : System : General
CTP2 Bureau
The Modding
WePlayCiv: CtP2 Downloads
WePlayCiv: Call To Power forum
Apolyton Call To Power forums
Civilization Fanatics: Call To Power

SLIC-Reference : Functions : System : General


- CTP1 - messages only
- CTP2 - can be triggered (events)
- CTP2 Apolyton Edition  
  - tested
- broken, obsolete - working

Random (range) int       Return a random number from 0 to range Apolyton-thread
return       return CONTINUE, return STOP. If return STOP is used in a pre-event handler, it stops the event from being executed Apolyton-thread
RoundGold (int) int   Rounds off int to the nearest 100
RoundPercentReduction (int) int   Rounds off to a nice percentage, 0 <= int <= 100
SetTimerGranularity (gran) int   Set SLIC's timer mechanism to check timers every gran seconds
StartTimer (index, duration) int   Start timer index, set to expire in duration seconds
StopTimer (int) int   Stop the given timer

Latest update: 24.11.2010  ( - recently updated)
This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 71266 unique users since 02.05.2004 (» Site Statistics) Hosted by: WebhostOne
Share this page:  VK Facebook Twitter LiveJournal OK MR Google+ LinkedIn tumblr Pinterest Blogger Digg Evernote