Results 1 to 30 of 82

Thread: alpaca's Script-O-Rama

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: alpaca's Script-O-Rama

    Quote Originally Posted by grif
    Hi!
    Does not work with a patch 1.2
    Why? Here my command:

    monitor_conditions I_TurnNumber = 1
    spawn_army
    faction turks
    character Bel_Kermek, named character, age 30, x 279, y 138
    traits GoodCommander 2
    unit ME Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Turkomans exp 0 armour 0 weapon_lvl 0
    unit Turkish Archers exp 0 armour 0 weapon_lvl 0
    end

    terminate_monitor
    end_monitor

    And in a patch 1.1 works.
    Hmm it still works with that syntax for me, maybe you didn't add the name to the Turks' list of names?

  2. #2

    Default Re: alpaca's Script-O-Rama

    Quote Originally Posted by alpaca
    Hmm it still works with that syntax for me, maybe you didn't add the name to the Turks' list of names?
    Has added names.
    With this command the army does not appear also other commands cease to work.

    P.S. I ask a pardon for bad English, I work with the program the translator.

  3. #3
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: alpaca's Script-O-Rama

    If other commands stop working you made a mistake or used a command that disables them somewhere. Some commands aren't safe to use, so try just putting spawn_army into your script and nothing else (and be sure to put it into a monitor because the script can't spawn armies on game start)

  4. #4

    Default Re: alpaca's Script-O-Rama

    Quote Originally Posted by alpaca
    If other commands stop working you made a mistake or used a command that disables them somewhere. Some commands aren't safe to use, so try just putting spawn_army into your script and nothing else (and be sure to put it into a monitor because the script can't spawn armies on game start)
    And how it is better to make?
    Write please that there was an army.

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: alpaca's Script-O-Rama

    You can for example use a monitor_event ButtonPressed TrueCondition to check if the command works. That will fire it once you press a button.

  6. #6

    Default Re: alpaca's Script-O-Rama

    Quote Originally Posted by alpaca
    You can for example use a monitor_event ButtonPressed TrueCondition to check if the command works. That will fire it once you press a button.
    Here so? Does not work.
    monitor_event monitor_event ButtonPressed TrueCondition

    spawn_army
    faction turks
    character Bel_Kermek, named character, age 30, x 279, y 138
    traits GoodCommander 2
    unit ME Bodyguard exp 1 armour 0 weapon_lvl 0
    unit Turkomans exp 0 armour 0 weapon_lvl 0
    unit Turkish Archers exp 0 armour 0 weapon_lvl 0
    end

    end_monitor

  7. #7
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: alpaca's Script-O-Rama

    Do you have something in your error log?

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