SLIC-Reference : Variables : Units
CTP2 Bureau
The Modding
Knowledgebase
WePlayCiv: CtP2 Downloads
WePlayCiv: Call To Power forum
Apolyton Call To Power forums
Civilization Fanatics: Call To Power

SLIC-Reference : Variables : Units

Entries:

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

unit.hp int   the unit's remaining hit points
unit.location location   the unit's location
unit.name str   the unit's name, only useful in string replacements Apolyton-thread
unit.owner int       the unit's owner
unit.type int       the unit's database index Apolyton-thread
unit.valid int   true if the unit still exists, false otherwise
unitrecord.attack int   the unit type's attack value
unitrecord.cost int   the production cost of the unit type
unitrecord.defense int   the unit type's defense value
unitrecord.movement int   the unit type's move points
unitrecord.name str   the unit type's name
unitrecord.ranged int   the unit type's ranged attack value

Latest update: 24.11.2010  ( - recently updated)
  Administration
This site is currently maintained by: BureauBert (Webmaster)  Maquiladora (Manager)  Legal Notice: Legal Notice Statistics: 69715 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