Not of the unit, of an Action definded in your mission. The only available action at the moment is the spawn of an AiGroup (AiAirGroup or AiGroundGroup). You define them at the second tab (by Scripts) in the FMB.
In this case the name of the action is MyAction. So you can get access to it via GamePlay.gpGetAction("MyAction");
In the mis file you will find it in the Action Section
[Action]
MyAction ASpawnGroup 1 BoB_LW_LG2_I.01