Valkrionn
The Hamster King
one short question.
is there a promo command like "addscript", which adds a script to the unit with this promo.
I haven't found some but I want to be sure.
By script, do you mean python?
If so...
Promotion Python Tags:
- PythonOnRemove
- PythonPostCombatLost
- PythonPostCombatWon
- PyOnPromoTaken - 1.31 only!
- PyHelp
- PyPerTurn
- Python that runs when the promo is removed, naturally
- For when the unit loses a combat
- For when the unit wins a combat
- For when the promotion is taken by a unit. Added in 1.31, I needed an immediate effect (for an artstyle selection, using pyperturn caused there to be a turn delay before art swaps)
- Displays specialized help on mouseover (like for mutation, showing the actual mutation effects)
- Run each turn
Do you have the source code for the DLL available somewhere?
Sorta. I had forgotten to release it, so I have the 1.31 source.
I could grab the 1.30 source (I know the last rev that went into 1.30), just time consuming.
Or I could just pm you the SVN repository path, and you can grab it that way.