Results 1 to 4 of 4

Thread: Scripting Question

  1. #1
    Insanity perhaps is inevitable Member shifty157's Avatar
    Join Date
    Jan 2005
    Posts
    1,145

    Default Scripting Question

    I was told once (i believe by a scripter that worked with EB) that using scripting, new buildings and units could be made available to the player depending on a trait gained by a general. Is this true or am i just making memories up?
    Last edited by shifty157; 04-11-2006 at 23:03.

  2. #2
    Member Member cunctator's Avatar
    Join Date
    Jan 2005
    Location
    Civitas Auderiensium, Germania Superior
    Posts
    2,077

    Default Re: Scripting Question

    It's true. You can write a script searching for a specific trait, that places certain buildings in all cities if the trait is present. These buildings can then be used as requirements for other buildings and units.

  3. #3
    Insanity perhaps is inevitable Member shifty157's Avatar
    Join Date
    Jan 2005
    Posts
    1,145

    Default Re: Scripting Question

    Thanks.

    Is it also possible to trigger a script when a unit/building is completed?

  4. #4
    Member Member cunctator's Avatar
    Join Date
    Jan 2005
    Location
    Civitas Auderiensium, Germania Superior
    Posts
    2,077

    Default Re: Scripting Question

    You can check per script if a building is completed or exist in any settlement and make it a condition for your script. For units as far as I know you can only test the number of certain units in your settlement. If you want your script becoming active the first time a unit is trained at a specific place this might work.

    A complete list of all comands and triggers can be found here:

    https://forums.totalwar.org/vb/showthread.php?t=54299

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