Check Unit Name

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
Grymme
Posts: 1776
Joined: Sun Dec 16, 2007 5:06 pm
Contact:

Check Unit Name

Post by Grymme »

Can someone explain how the Check Unit Name works. Does it need to be a complete match or can you for example have it check for contains (US)?

Anyway. I am looking to program an event that lets the player select only certain type of units and maybe also reacts differently depending on what kind of unit he selects. I was trying to use CheckUnitMorale and have different peoples have different basemorale but the problem is that morale vary som much after combat that this didnt work.¨

For example if all US units had the name US in them then only US units could be selected or does it have to be named US solely.

If anyone else have a good system for selecting units based on its composition feel free to let me know. Right now i am using checking for a certain SFT.
My Advanced Tactics Mod page
http://atgscenarios.wordpress.com

30+ scenarios, maps and mods for AT and AT:G
Post Reply

Return to “Mods and Scenarios”