ruff_hi
Live 4ever! Or die trying
I would like to be able to destroy a unit using python. I have in mind a mod that sometimes wants to destroy Great Scientists. I am planning to put some code in the 'onUnitCreate' event (or similar) that does the following:
Similarly, sometimes if the player gets a Great Priest - I want to give an extra Priest ... (sample code) ...
Is this possible? If so, can someone suggest some suitable civ4 python code?
PHP:
if human player
and unit.type = great scientist then unit.destroy
PHP:
if human player
and unit.type = great priest then unit(great priest).create
Is this possible? If so, can someone suggest some suitable civ4 python code?