Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Delayed Event Message After Damage/Destruction

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> Delayed Event Message After Damage/Destruction Page: [1]
Login
Message << Older Topic   Newer Topic >>
Delayed Event Message After Damage/Destruction - 12/1/2017 4:34:19 AM   
DWReese

 

Posts: 1824
Joined: 3/21/2014
From: Miami, Florida
Status: offline
I know how to create a message using the Event Editor to have a text Message pop up WHEN something is damaged/destroyed such as, if this building is damaged/destroyed then this message pops up.

What I would like to do is have the message pop up like 10 or 15 minutes later, so that the information doesn't appear to be instantaneously obtained.

Is there a way to delay an Event message?

Doug
Post #: 1
RE: Delayed Event Message After Damage/Destruction - 12/1/2017 5:25:31 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Store the message as a key value, and turn the seperate event on (see below)
Use a seperate event (initially set to off) with a regular time trigger (15 mins or whichever suits) that displays the stored key value message to the player, and turns this seperate event back off.

(in reply to DWReese)
Post #: 2
RE: Delayed Event Message After Damage/Destruction - 12/1/2017 6:13:16 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
I would enhance the above by ...
(a) defining the key-value that holds the message (as mentioned)
(b) use the timed event that fires every x minutes, and add a condition to it to check for any value in the defined key-value. In the action, show the message and then clear the key-value. It wont fire again until there is new data to show.
This way you a very flexible 'fog of war'.
You could also set a 'time to display' key-value with it, and make the condition check that to see if the current time is after that; again gives flexibility if you want to vary time between messages.

_____________________________

Michael

(in reply to Rory Noonan)
Post #: 3
RE: Delayed Event Message After Damage/Destruction - 12/1/2017 2:17:30 PM   
stilesw


Posts: 1497
Joined: 6/26/2014
From: Hansville, WA, USA
Status: offline
apache85 & michaelm75au,

Brilliant! I was looking for a way to do something similar and this key value method will work perfectly.

Thanks much,

-Wayne

(in reply to michaelm75au)
Post #: 4
RE: Delayed Event Message After Damage/Destruction - 12/1/2017 5:00:31 PM   
DWReese

 

Posts: 1824
Joined: 3/21/2014
From: Miami, Florida
Status: offline
Thanks to you (and Apache85) for the help.

Doug

(in reply to michaelm75au)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> Delayed Event Message After Damage/Destruction Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.063