Navigation
API > API/Plugins > API/Plugins/MassCrowd > API/Plugins/MassCrowd/UMassCrowdSubsystem
References
| Module | MassCrowd |
| Header | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Public/MassCrowdSubsystem.h |
| Include | #include "MassCrowdSubsystem.h" |
| Source | /Engine/Plugins/AI/MassCrowd/Source/MassCrowd/Private/MassCrowdSubsystem.cpp |
bool SetLaneState
&40;
const FZoneGraphLaneHandle LaneHandle,
ECrowdLaneState NewState
&41;
Remarks
Changes the state of a lane. True if the state was successfully changed or was already in the right state; false if handle is invalid
Parameters
| Name | Description |
|---|---|
| LaneHandle | A valid lane handle used to retrieve the runtime data and change the lane state; ensure if handle is invalid |
| NewState | The new state of the lane |