SLIC-Reference : Variables : Units
CTP2 Bureau
The Modding
Apolyton CTP2 forums
Apolyton CTP2 archives
Source Code Project SVN

SLIC-Reference : Variables : Units


- 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 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 str   the unit type's name
unitrecord.ranged int   the unit type's ranged attack value

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