I thought that was how ti worked, yes you can, I looked in the source and there appear to be a few methods fo doing it
attack unit:
targetid
or
attack position:
x
y
z
or
Area attack:
x
y
z
radius
Another thign I've noticed is that AI devs do one fo two thigns, they use Command c and &C as the parameter or they do ti how SJ did ti with Command* c = new Command. But the people whod o the latter for soem reason I am not seeing any delete c; statements,n they're not there in SJ's code, and considering what the code in the AI interface looks like, you need to delete these when you're done and some people just arent doing it and facing memory leaks as a result, not as noticeable as other memory bugs people have found , but still a memory leak.