GetParticipants() does not return an NPC

Summary

The function should return all agents, including NPCs. However, it returns only players.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

  1. Create a Custom NPC using npc_spawner_device.
  2. Spawn >1 NPC
  3. Call the GetParticipants() method.

Expected Result

The return of all NPCs and players.

Observed Result

The return of players only

Platform(s)

windows

Hi @2GHSamburskoy -

One of our programmers asked me to pass this along:

Get all agents that are participating in the current fort_playspaceexperience. Participants might be human players (ofplayertype) or AI-controlled characters (ofagent type) that are registered and affecting the participant's count.
The last bit is important: and affecting the participant's count … if their NPC is not increasing the amount of total player count, it wont be part of the GetParticipants() list.

1 Like

Is this a function to be used for something that will come in the future? (Test Players on roadmap). Are there any spawnable npc’s/AI in the current build that increase the player count?