My advice to you is to look into other units that have certain characteristics which can help you achieve your goal.
Originally Posted by: rey
Thank you for your time and code example, but for pity it's not what is my goal - i'm not after simple adding disarm ability for Red Guards to come and disarm like Worker, but for them to shoot/kill mines from distance and desirably do it automatically when mines are spot(automatically start shooting in mines).
And that's the problem - i didn't find any example to examine for exactly such mechanic.
Originally Posted by: UTD^Force