13 print 'running getTargetShipInfo'
14 newTarget = plr.myTarget
15 fg = newTarget.getFlightgroupName()
16 def targetResponse(args):
17 plr.sendingShipinfoRequest=
False;
18 if (newTarget == plr.myUnit.GetTarget()):
19 VS.setTargetLabel(
'\n'.
join(args))
22 if fg
and fg!=
'Base' and not plr.sendingShipinfoRequest:
24 plr.sendingShipinfoRequest=
True
28 if not VS.networked():
32 if VS.getPlayer() != plr.myUnit:
36 if plr.myUnit.GetTarget() != plr.myTarget:
37 plr.myTarget = plr.myUnit.GetTarget()
38 print 'plr.myUnit.GetTarget() changed!'