






Age of Wonders II
is a turn-based strategy game developed by
Triumph Studios

![]() |
![]() |
Weekly EventsPosted by: Orionshaolin (10-09-2002) on the AOW2 Scenario Forum Say you wanted to make an event happen every week. a weekly TAX, or gold loss for example.You would need to set up seven flags, using the previous flag as a condition. Also, you will need to enter the flags in reverse order so they are triggered at the beginning of every turn, but only if the previous flag has been set. Something like this:
Flag seven
Flag six ...
Flag one Now, as the computer moves through the event list on each new turn, FIRST, flag one is set to true, but no others, since they are checked BEFORE the first flag is set. On the SECOND day, the second flag is set to true, because the first flag was set to true last turn. After seven new turns, all flags are true. Using the seventh flag as a condition for the gold +/- event, after every seventh day, the player will have the event happen.
Event: gold reward (for appropriate player), Place this event after the seven flags. Then, using the true state of flag 7, another series of events, following the gold event, reset the seven flags to false (I think you can figure this out by now so I have spared myself the typing). Be sure that resetting the flags after the gold event happens in normal, ascending order, since your using flag 7 as your condition to reset the flags, including flag 7 itself. if you do it backwards, the other 6 flags will not reset, and you get a nasty tax day after day, starting at day 7. This will reset the seven flags and the series starts all over again at the next new turn. For a monthly event, you need thirty flags, in similar fashion. :-P (For discussion on this script, post comments and queries here.) |
Headlines » AoW1 Summer 2008 Mapmaking Tournament » A new PBEM Singles Champion is crowned - Swolte!! Poll Age of Wonders Looking for info about the original AoW? HeavenGames Sites » Caesar 3 » Caesar 4 » Pharaoh » Zeus |
|
Age of Wonders II™ is a game by Triumph Studios and published by Gathering of Developers. Age of Wonders II Heaven Copyright © 1997-2004 HeavenGames LLC. All Rights Reserved. Written permission is required if you want to use any materials published on this website for use on your own website, in its original form, or translated into other languages. |