Thread Tools
Old January 8, 2001, 19:19   #1
heardie
Prince
 
heardie's Avatar
 
Local Time: 20:49
Local Date: October 31, 2010
Join Date: Aug 1999
Posts: 684
Checking Locations
For a scenario each turn I need to check locations
can this be done?
and is it something like this?
makelocation(land, x-co, y-co)
for (i=0, i => player[0].units, i=i+i){
if (unit.location == land){
//somecode here
}
}
Or somoething else
heardie is offline  
Old January 11, 2001, 14:48   #2
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 11:49
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Sure, that should work.
Locutus is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:49.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team