Page 1 of 1

Check Unit Name

Posted: Thu Sep 01, 2011 1:27 pm
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.