Results 1 to 2 of 2

Thread: Unit disabled with scripts ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    is not a senior Member Meneldil's Avatar
    Join Date
    Aug 2004
    Location
    France
    Posts
    3,074

    Default Unit disabled with scripts ?

    Is it possible to disable the recruitment of a given unit with scripts ?

    I'm considering having a early and late Milites unit for AoVaF, one with a round shield and the other with a kite shield and a segmented helmet. I already know it's possible to make some units available later in game, but what about disabling an unit ?

  2. #2
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: Unit disabled with scripts ?

    you can let a script create a building that allows the new unit to be trained, and disables the previous unit (using "not" in the "requires" line).
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO