Results 1 to 13 of 13

Thread: scripting question

Hybrid View

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

    Default Re: scripting question

    Thx for the help so far: when I play 2 turns now, the advisor tells me of Alexander, but when I click the ShowMeHow button, it CTDs...

  2. #2
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: scripting question

    Quote Originally Posted by Ian Altano
    Thx for the help so far: when I play 2 turns now, the advisor tells me of Alexander, but when I click the ShowMeHow button, it CTDs...
    Post here exactly the script you use. Let's see if there is any mistake.

  3. #3

    Default Re: scripting question

    script
    declare_show_me

    spawn_army
    faction macedon
    character Gyras, named character, command 9, influence 9, management 9, subterfuge 0, age 28, , x 86, y 97
    unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
    unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
    unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
    unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
    unit levy pikemen, soldiers 80 exp 5 armour 0 weapon_lvl 2
    end

    end_script
    that's it. filename alexander_army.txt

    other bits of code have been implemented in the correct files, no errors there.

  4. #4
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Default Re: scripting question

    If you're modding vanilla RTW, there's no unit with the name "levy pikemen", you need "greek levy pikemen" or something else. Everything else looks non-toxic. As an aside, the command, management, influence, and subterfuge settings are ignored by this command for some reason.
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  5. #5

    Default Re: scripting question

    ok, that got it to work (silly mistake)

    thanks for helping out guys ;)

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