mirror of
https://github.com/Ragora/T2-DXAI.git
synced 2026-01-19 18:14:45 +00:00
Re-enable flag running code
This commit is contained in:
parent
ec3b86cdf6
commit
5afe51ec0d
|
|
@ -380,10 +380,10 @@ function AIEnhancedFlagCaptureTask::monitor(%task, %client)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
%client.isMovingToTarget = true;
|
%client.isMovingToTarget = true;
|
||||||
// if (%client.targetCaptureFlag.getObjectMount() != %client.player)
|
if (%client.targetCaptureFlag.getObjectMount() != %client.player)
|
||||||
// %client.setMoveTarget(%client.targetCaptureFlag.getPosition());
|
%client.setMoveTarget(%client.targetCaptureFlag.getPosition());
|
||||||
//// else
|
else
|
||||||
%client.setMoveTarget(nameToID("Team" @ %client.team @ "Flag1").getPosition());
|
%client.setMoveTarget(nameToID("Team" @ %client.team @ "Flag1").getPosition());
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue