Infinity trigger/unit spawn bug?

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Infinity trigger/unit spawn bug?

Post by Erik2 »

I'm trying to set up triggers that will spawn 1 kamikaze unit at a specific location each turn as long as there is 1 airstrip at the location.
Problem is that the triggers spawn more than 1 unit pr turn (except the first turn).

Trigger-a condition: checks airstrip unit = 1, effects: spawns kamikaze unit, disables trigger-a and enables trigger-b
Trigger-b condition: checks airstrip unit = 1, effects: disables trigger-b and enables trigger-a

Anyone?
There are 7 airstrips so I'd rather not create 'manual' triggers for each of them for 35 turns...

(Got a 1v1 Operation Olympic ready as soon as the trigger problem is fixed)
Attachments
not trigger-happy.jpg
not trigger-happy.jpg (86.04 KiB) Viewed 1248 times
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Infinity trigger/unit spawn bug?

Post by Erik2 »

Tried a slightly different approach.
A simple infinite trigger which should spawn 1 unit each turn.

1 unit is spawned on turn-1.
Every turn thereafter, 4 units are spawned. Bug?
Attachments
spawn of the devil.jpg
spawn of the devil.jpg (101.06 KiB) Viewed 1220 times
adherbal
The Artistocrats
The Artistocrats
Posts: 3900
Joined: Fri Jun 24, 2005 6:42 pm
Location: Belgium

Re: Infinity trigger/unit spawn bug?

Post by adherbal »

"Turn Start" is called at the start of every alliance's turn, includes the "no mans land" (not displayed in the alliances list because it cannot be edited) and "neutral" one.

If you want the trigger to do stuff only per "full cycle", add a "check turn" condition with turn > 0 and a specific alliance selected (probably the starting one). Then it will only pass the conditions on that alliance's turn, thus only fire once per "full cycle".
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: Infinity trigger/unit spawn bug?

Post by Erik2 »

Thank you
Post Reply

Return to “Order of Battle : World War II - Scenario Design”