How can I make a message that pops at X time or X condition?

JoniMega · 457

JoniMega

  • Newbie
  • *
    • Posts: 2
Hello, I have been trying to understand all by myself how the edit tool works, but I haven't seen a way to make an automatic popping A.D.A. message. The only thing that I manage to resemble is placing a InfoCache that, when is picked, it pops a message.

Has anyone figured out how to make a popping message like the "Wallis" planet from the farsite campaign? (The A.D.A message Wallis planet mission pops at X time).

Thanks :D



Karsten75

  • Hero Member
  • *****
    • Posts: 7117
Reply #1 on: February 28, 2021, 01:04:08 pm
Hello, I have been trying to understand all by myself how the edit tool works, but I haven't seen a way to make an automatic popping A.D.A. message. The only thing that I manage to resemble is placing a InfoCache that, when is picked, it pops a message.

Has anyone figured out how to make a popping message like the "Wallis" planet from the farsite campaign? (The A.D.A message Wallis planet mission pops at X time).

Thanks :D

It's possible to open Wallis in your map editor, then look at (and use or modify) the script in there.

'If you want to live a happy life, tie it to a goal, not to people or things.'

Albert Einstein
(1879-1955)


321k

  • Jr. Member
  • **
    • Posts: 20
Reply #2 on: March 05, 2021, 08:39:07 am
Hi, I think it should be enough to place code like this at the top of the script

Code: [Select]
$COUNTDOWN:3000 # 3000 frames = 100 seconds
if (GetGameUpdateCount == (<-COUNTDOWN))
      # drop your ada message code here
endif

« Last Edit: March 05, 2021, 08:42:16 am by 321k »