what command can promote a unit

m9x

Warlord
Joined
Jul 27, 2007
Messages
169
hey, i've got a bit of trouble with a script.

it automatically promotes certain units after turn 1 and i have no idea why. it promotes them to ridiculous levels (the highest possible).

what command does this in python for bts so that i may look thru the script and fix it?

it also seems like the script does this every turn for every unit that i create. i just built some in the world builder and one turn later they were promoted as well. anyone know what i should look for in order to get to the bottom of this (the script is massive). help appreciated.
 
ok i think i found the problem. after looking through every line of script, i found that one of the entry point was in Civ4 format and lacked some of the BtS defines. especially the unit experience stuff. that's why they were promoted to the max (missing function).
 
Back
Top Bottom