Deon
Lt. of Mordor
The problem is that I want a promotion to be triggerable by a player when the unit is in system (final frontier city)..
The idea is to make changeble equipment. I.E. I have a gunship with base combat strength 10. I want to make an option for it to equip "gunners crew" while in city which makes it +2 str -1 movement, and then to equip "regular crew" (removes promotion) or "technicians crew" (-2 str heals 10% faster).
I saw this thing in the FFH mod, but it's a bit complicated there (a lot of things changed and I'm almost sure the dll code is changed).
I know the script, but it uses "caster" variable (maybe in dll?) also I don't see how do they invoke the python in game.
I was asking about a general way to activate a python script in vanilla game by an action. I can't get it yet. Just how to call a python function...
Also maybe some dll editing is needed here. But i'd like to go without it.
The idea is to make changeble equipment. I.E. I have a gunship with base combat strength 10. I want to make an option for it to equip "gunners crew" while in city which makes it +2 str -1 movement, and then to equip "regular crew" (removes promotion) or "technicians crew" (-2 str heals 10% faster).
I saw this thing in the FFH mod, but it's a bit complicated there (a lot of things changed and I'm almost sure the dll code is changed).
I know the script, but it uses "caster" variable (maybe in dll?) also I don't see how do they invoke the python in game.
I was asking about a general way to activate a python script in vanilla game by an action. I can't get it yet. Just how to call a python function...
Also maybe some dll editing is needed here. But i'd like to go without it.