Get Num Players

Get Num Players

Choose your operating system:

Windows

macOS

Linux

Returns number of active human players, excluding spectators

Target is Game Mode Base

Get Num Players
Target
Return Value
0

Inputs

In
Exec
Target
Game Mode Base Object Reference

Outputs

Out
Exec
Return Value
Integer

Returns number of active human players, excluding spectators