mirror of
https://github.com/Ragora/T2-DXAI.git
synced 2026-07-14 21:24:33 +00:00
Began server auto-hook
This commit is contained in:
parent
b9d248abfb
commit
0a77531cd9
1 changed files with 9 additions and 0 deletions
|
|
@ -297,6 +297,15 @@ package DXAI_Hooks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function CreateServer(%mission, %missionType)
|
||||||
|
{
|
||||||
|
// Perform the default exec's
|
||||||
|
parent::CreateServer(%mission, %missionType);
|
||||||
|
|
||||||
|
// Ensure that the DXAI is active.
|
||||||
|
$DXAI::System::InvalidatedEnvironment = true;
|
||||||
|
}
|
||||||
|
|
||||||
// Make this do nothing so the bots don't ever get any objectives by default
|
// Make this do nothing so the bots don't ever get any objectives by default
|
||||||
function DefaultGame::AIChooseGameObjective(%game, %client) { return 11595; }
|
function DefaultGame::AIChooseGameObjective(%game, %client) { return 11595; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue