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;
|
||||
|
||||
%client.isMovingToTarget = true;
|
||||
// if (%client.targetCaptureFlag.getObjectMount() != %client.player)
|
||||
// %client.setMoveTarget(%client.targetCaptureFlag.getPosition());
|
||||
//// else
|
||||
%client.setMoveTarget(nameToID("Team" @ %client.team @ "Flag1").getPosition());
|
||||
if (%client.targetCaptureFlag.getObjectMount() != %client.player)
|
||||
%client.setMoveTarget(%client.targetCaptureFlag.getPosition());
|
||||
else
|
||||
%client.setMoveTarget(nameToID("Team" @ %client.team @ "Flag1").getPosition());
|
||||
}
|
||||
//------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue