Slot/Unit id is already in mission.sqm, add scripting command to get it from player.
Right now there is no way to get unique and persistent identifier about players slot without manually naming all playable units.
Slot/Unit id is already in mission.sqm, add scripting command to get it from player.
Right now there is no way to get unique and persistent identifier about players slot without manually naming all playable units.
You can give description to the unit and read it with roleDescription command if that helps https://community.bistudio.com/wiki/roleDescription