You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR -- The server/functions/harass/fn_harass_create_squads.sqf script reads like players inside populated FOBs shouldn't have tracker teams sent to them, but variables may be assigned in the wrong order, meaning FOBs do have tracker AI assigned.
Unsure if this is by design / intention (hacking the assignment order to also assign tracker teams to the FOB for higher AI count) or if it's just no-one has noticed the possible out of order assignment.
If the former, some clarification that it is intended would be appreciated.
If the latter, should be a simple fix and happy to push a PR.
1. Find players to send tracker teams towards
_friendlyPlayersToHarass variable based on the original _harrasablePlayers variable defined here
// server/functions/harass/fn_harass_create_squads.sqf#L73-L91
// Keep occupied FOBs harassed
private _playersToRemove = [];
{
// ...
_playersToRemove append _players;
// logic where each populated FOB has Attack AI obj assigned
} forEach para_g_bases;
3. Exclude players in populated FOBs from the list of players for tracker teams ....
POTENTIAL BUG modify _harassablePlayers -- this variable is never used after this point
// server/functions/harass/fn_harass_create_squads.sqf#L93
// prune the list of harrassable players to exclqude those inside FOBs under attack
private _harassablePlayers = _harassablePlayers - _playersToRemove;
4. Assign tracker teams to players who should be harrassed
Uses _friendlyPlayersToHarass variable, defined before the FOB attack logic and based on the original _harrasablePlayers variable defined here
The tracker team / pursuit AI logic includes players in a populated FOB.
The text was updated successfully, but these errors were encountered:
dijksterhuis
changed the title
Harrass System: Players in Populated FOBs can be assigned both Attack and Pursuit AI objectives
Harrass System: Players in Populated FOBs can be assigned both Attack and Pursuit AI objectives?
Sep 12, 2023
TL;DR -- The server/functions/harass/fn_harass_create_squads.sqf script reads like players inside populated FOBs shouldn't have tracker teams sent to them, but variables may be assigned in the wrong order, meaning FOBs do have tracker AI assigned.
Unsure if this is by design / intention (hacking the assignment order to also assign tracker teams to the FOB for higher AI count) or if it's just no-one has noticed the possible out of order assignment.
If the former, some clarification that it is intended would be appreciated.
If the latter, should be a simple fix and happy to push a PR.
1. Find players to send tracker teams towards
_friendlyPlayersToHarass
variable based on the original_harrasablePlayers
variable defined here2. Send attacks towards populated FOBs
3. Exclude players in populated FOBs from the list of players for tracker teams ....
POTENTIAL BUG modify
_harassablePlayers
-- this variable is never used after this point4. Assign tracker teams to players who should be harrassed
Uses
_friendlyPlayersToHarass
variable, defined before the FOB attack logic and based on the original_harrasablePlayers
variable defined hereThe tracker team / pursuit AI logic includes players in a populated FOB.
The text was updated successfully, but these errors were encountered: