Results 1 to 6 of 6

Thread: Dynamically create units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Icon1 Dynamically create units

    Hello everyone, I was wondering if it is possible to create units while you are playing(using scripts I mean)?

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Dynamically create units

    This is possible by using the 'spawn' command within the script. Similar to the appearance of the Mongols\Timurids in the basic game.
    You define beforehand the conditions to be met and then give the spawn command.










  3. #3

    Default Re: Dynamically create units

    Yes exactly just use the search option here in the mod workshop with the word "Spawn" and you can also Spawn navy and other agents in mid-game.

  4. #4
    Amon Amarth 930's Avatar Artifex
    Join Date
    Nov 2008
    Location
    Germany, North-Rhine Westphalia
    Posts
    466

    Default Re: Dynamically create units

    Beside the Spawn-Command also "create_unit" is possible.
    For example I use the script to make the most garrisions for the beginning of the game, instead of using the descr_strat.

    create_unit Festung, Dismounted Drachenjager Myrtana, num 5, exp 6, arm 0, wep 0

    Third Age Member (Fellowship-Scripter)
    Under the Patronage of MasterBigAb

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Dynamically create units

    - create_unit is only possible within a settlement, therefore restrictive, but easy to use for garrison scripts
    - spawn_army or spawn_character can be used anywhere










  6. #6

    Default Re: Dynamically create units

    Thanks,it was helpful...

Posting Permissions

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