Results 1 to 2 of 2

Thread: Timed recruitable units

  1. #1

    Icon5 Timed recruitable units

    I want to make a unit recruitable only after a historical evvent occurs. Problem is i don't know how to make it :)
    If anyone help me i'll be glad :)

  2. #2
    Callistonian's Avatar Ducenarius
    Join Date
    May 2018
    Location
    somewhere in the continental US
    Posts
    944

    Default Re: Timed recruitable units

    There is a condition in export_descr_buildings called event_counter which can be used with the recruit_pool effect as in:

    Code:
    recruit_pool "You Unit Type" 1 0.2 2 0 requires factions { england, } and event_counter your_historic_event_name 1
    When you use the historic_event command in campaign_script (or elsewhere), it increments an event counter with the same name by +1 and will thereby satisfy conditions in EDB like the one above. If you're working off of vanilla M2 or a mod, check export_descr_buildings (EDB) for usage examples.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •