Results 1 to 7 of 7

Thread: Questions Spawning An Army Script

Threaded View

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

    Default Re: Questions Spawning An Army Script

    You shouldn't be using an event monitor if you want something to appear immediately. It's running straight through and terminating because there's nothing to stop it and - as there's no time to start a new turn - the monitor is never accessed.

    Try something like this instead:

    Code:
    script
    spawn_army
    faction romans_julii
    character Flavius Julius, general, command 0, influence 0, management 0, subterfuge 0, age 20, x 180, y 5
    unit roman generals guard cavalry, soldiers 20 exp 9 armour 1 weapon_lvl 0
    unit roman legionary first cohort ii, soldiers 40 exp 0 armour 0 weapon_lvl 0
    unit roman legionary cohort ii, soldiers 60 exp 0 armour 0 weapon_lvl 0
    unit roman praetorian cohort i, soldiers 60 exp 0 armour 0 weapon_lvl 0
    end
    end_script
    If you want to use a monitor then you should use a background script, have a look through the Intermediate Guide.
    Last edited by Epistolary Richard; 01-17-2006 at 01:43.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

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