Prototype/Source/Prototype/Private/Task_ActiveSearch.cpp
/* Enters active search state neighbor is detected as actively searching.
*
*/
Enters active search state neighbor is detected as actively searching.
Enters active search state neighbor is detected as actively searching .
void AUSARAgent::CheckNeighborsSearch()
{
    for (AUSARAgent* n : neighborAgents) {
        if (n->statusActiveSearch) {
            flockWPVector = FVector::ZeroVector;
            statusTraveling    = false;
            statusActiveSearch = true;
            ActiveSearchHandle();
            break;
        }
    }
}
void AUSARAgent :: CheckNeighborsSearch ( ) { for ( AUSARAgent * n : neighborAgents ) { if ( n -> statusActiveSearch ) { flockWPVector = FVector :: ZeroVector ; statusTraveling = false ; statusActiveSearch = true ; ActiveSearchHandle ( ) ; break ; } } }
Enters active search state neighbor is detected as actively searching.
Enters active search state neighbor is detected as actively searching .