Log in

View Full Version : trigger help



bubbanator
05-04-2005, 22:23
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)

Epistolary Richard
05-05-2005, 09:40
If you wanted to do it as an event script you'd want a trigger something like this:


;------------------------------------------
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 (https://forums.totalwar.org/vb/showthread.php?t=43121).

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 (https://forums.totalwar.org/vb/showthread.php?t=46877).