[Answered] Combine actions with "regular time" trigger

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Steve04
Posts: 79
Joined: Tue Dec 01, 2020 1:36 pm
Location: Firenze - Italia

[Answered] Combine actions with "regular time" trigger

Post by Steve04 »

Please can you help me to understand some concrete use of the trigger "regular time" to create an event with one of the proposed actions.
These are (excluding LUA script): points, end scenario, teleport to area, message and change mission status.
For example, I might want to check that when a base is "liberated" by enemy units and occupied by friendly units, it gives points to the player.
Is it mandatory to use LUA script or can it be done with standard event editor actions?
The logic could be this.
Test with regular time if any enemy units are present in the base area. When there is no more enemy unit, change sides at the base (propose a message) and add points to the player
Thanks, Steve.
Rory Noonan
Posts: 2418
Joined: Thu Dec 18, 2014 1:53 am
Location: Brooklyn, NY

RE: Combine actions with "regular time" trigger

Post by Rory Noonan »

Hi Steve04,

Regular time triggers are, as the name implies, triggers that fire at regular intervals. Some examples of how I have used them:
15 second RT trigger to check depth of a submarine for comms
1 hourly check of custom-scripted victory conditions
6 hourly weather change

For a script that fires when units are not in an area, I'd suggest using the "Unit in area" trigger with the "not" flag.
Image
Post Reply

Return to “Tech Support”