[Answered] Combine actions with "regular time" trigger (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support



Message


Steve04 -> [Answered] Combine actions with "regular time" trigger (4/17/2021 12:03:08 PM)

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 -> RE: Combine actions with "regular time" trigger (4/22/2021 11:51:06 AM)

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.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.609375