Navigation
API > API/Plugins > API/Plugins/MassCrowd > API/Plugins/MassCrowd/Tasks > API/Plugins/MassCrowd/Tasks/FMassZoneGraphFindWanderTarget
- FStateTreeTaskBase::EnterState()
- FMassZoneGraphFindWanderTarget::EnterState()
References
| Module | MassCrowd |
| Header | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Public/Tasks/MassZoneGraphFindWanderTarget.h |
| Include | #include "Tasks/MassZoneGraphFindWanderTarget.h" |
| Source | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Private/Tasks/MassZoneGraphFindWanderTarget.cpp |
virtual EStateTreeRunStatus EnterState
&40;
FStateTreeExecutionContext & Context,
const FStateTreeTransitionResult & Transition
&41; const
Remarks
Called when a new state is entered and task is part of active states. Succeed/Failed will end the state immediately and trigger to select new state, Running will carry on to tick the state.
Parameters
| Name | Description |
|---|---|
| Context | Reference to current execution context. |
| Transition | Describes the states involved in the transition |