Results 1 to 2 of 2

Thread: trigger help

  1. #1
    Idiot Slayer Member bubbanator's Avatar
    Join Date
    Apr 2005
    Location
    Look behind you...
    Posts
    161

    Default trigger help

    I think that the RTW engine is pretty good and I have only done minor tweaks. One thing that I want to do is to throw a wrench into the world around the middle game when you are thriving and expanding. What I want is to have many many full stacks of units (most likely British or Rebels) to appear along the entire eastern coast of Europe. I know the time period for Vikings is a little bit off but I really could care less about the historical accuracy of this. I just want a real challenge in the middle game.

    The problems lies in the fact that I have no idea how to make the trigger for this to happen.

    I need a good deal of help with making the trigger (examples would be nice)
    Never underestimate the power of stupid people in large groups...

    "Incompetence - When you earnestly believe you can compensate for a lack of skill by doubling your efforts, there's no end to what you can't do. "

  2. #2

    Default Re: trigger help

    If you wanted to do it as an event script you'd want a trigger something like this:

    Code:
    ;------------------------------------------
    Trigger 3000_Viking_Invasion_Trigger
        WhenToTest FactionTurnStart
    
        Condition I_TurnNumber = 50 ; how ever many turns into the game you want this to happen
    
        AdviceThread "Insert appropriate advicethread name here"_Thread  0
    There are lots of examples of triggers at the bottom of export_descr_advice.

    They're built up of an event followed by various conditions. A full list of events and conditions can be found here.

    We haven't been able to get the spawn_army command to work yet, but you're more than welcome to see if it can be done. Post any results you get here.
    Last edited by Epistolary Richard; 05-05-2005 at 09: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