swiftlys2/docs/api/releases/features/ai/
API Reference › Players

TargetSearchMode

Enum
Namespace: SwiftlyS2.Shared.Players · Assembly: SwiftlyS2.CS2.dll
[Flags]
public enum TargetSearchMode
View source
Alive

Includes alive players in the search results.

1
Dead

Includes dead players in the search results.

2
IncludeSelf

Includes the searching player in the search results.

8
NoBots

Excludes bot players from the search results.

64
NoMultipleTargets

Limits the search to a single target only.

4
None

No specific search mode; default behavior.

0
OppositeTeamOnly

Includes only players from the opposite team in the search results.

32
TeamOnly

Includes only players from the same team in the search results.

16