Map Database  •  FAQ  •  RSS  •  Login

How to make messages appear in created map

<<

Manz

Post 07 Feb 2017, 11:40

How to make messages appear in created map

Hi!

So I'm totally new to this form and just recently made a single player map.

I can't figure out how to make messages appear. For example a message to appear at the very start or after 5 minutes of starting to play the map, kinda like it does in the campaigns.
Can anyone help me out? That would be much appreciated.

Thanks

Manz
<<

Guest

Post 07 Feb 2017, 12:14

Re: How to make messages appear in created map

okay, I just figured out how to do it by looking at the missions and copying the script and eng.libx files.

But I have another question.
Can I make it send a message just before player 3 (an ally) attacks the first time. He looses men at the start, so the time of his auto attack cannot be accurately predicted.

Thanks again
<<

Esthlos

User avatar

Knight

Posts: 676

Joined: 23 Jun 2013, 16:02

KaM Skill Level: Beginner

Post 08 Feb 2017, 17:35

Re: How to make messages appear in created map

Can I make it send a message just before player 3 (an ally) attacks the first time. He loses men at the start, so the time of his auto attack cannot be accurately predicted.
If you know how many men he needs before starting auto-attacking, maybe you could use States.StatArmyCount(aPlayer: Byte); to know when it's ready to attack.
Just when you think you know something, you have to look at it in another way, even though it may seem silly or wrong. You must try! - John Keating, "Dead Poets Society"

Return to “Dynamic Scripting”

Who is online

Users browsing this forum: No registered users and 9 guests