Is it possible to tie a unit on the strat map, with a trait?
Like if an army have a roman legionary, the commander gained the trait "Legion Commander" or whatever else the name?
Would this work with this?
Or this one?Code:Identifier: UnitType Trigger requirements: resource_description Parameters: unit type ('type' from export_descr_units.txt) Sample use: UnitType roman archer auxillia Description: Tests if a unit is of a particular type Battle or Strat: Either Class: UNIT_TYPE Implemented: Yes Author: Guy
Also, is it possible to do that a building has a bonus only if a trait is present on the governor.Code:Identifier: I_NumberUnitsInSettlement Trigger requirements: Parameters: settlement, unit type (UNIT_DESCRIPTION.id), logic token, quantity Sample use: I_NumberUnitsInSettlement Tarquinii roman_city_militia < 5 Description: How many units are in the settlement? Battle or Strat: Strat Class: NUMBER_UNITS_IN_SETTLEMENT Implemented: Yes Author: Guy
Example : The same general with his "Legion Commander" trait is governor of a town. Then you can recruit the legionary in the barracks?





Reply With Quote





