So I was experimenting with a dialog box that lets you create units by typing in their techincal name (eg "SiegeTankSieged" for a siege tank), and I thought I'd see what would happen if I typed an invalid string. I typed "Archangel" since I also wanted to test a custom unit called "ArchangelRefitAssault", and to my surprise the game filled in the rest and I got an "ArchangelRefitAssault". This is contrary to the info that says an invalid string will make the variable empty, though I suppose putting in a string that the game can't auto complete might have that result.
This may not be useful to most mappers, but I thought it was an interesting find none the less.
Anyone who has played any of the SC2 RP maps knows this. The game makes a best effort to find a valid type however it may still fail or return unintended results if the string is not exact and is too misspelt.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I was experimenting with a dialog box that lets you create units by typing in their techincal name (eg "SiegeTankSieged" for a siege tank), and I thought I'd see what would happen if I typed an invalid string. I typed "Archangel" since I also wanted to test a custom unit called "ArchangelRefitAssault", and to my surprise the game filled in the rest and I got an "ArchangelRefitAssault". This is contrary to the info that says an invalid string will make the variable empty, though I suppose putting in a string that the game can't auto complete might have that result.
This may not be useful to most mappers, but I thought it was an interesting find none the less.
Anyone who has played any of the SC2 RP maps knows this. The game makes a best effort to find a valid type however it may still fail or return unintended results if the string is not exact and is too misspelt.