Custom NPCs Add to team and Eliminated event buggy

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

Custom NPCs (using a Custom Character instead of a Fortnite one) can’t be added to any teams using team_collection.AddToTeam.
Also their EliminatedEvent never fires.

Steps to Reproduce

Expected Result

Observed Result

Platform(s)

I was able to add my npc Veronika to the same team as all players in my map Frozen Lake. It works ok. When do you put your npc in teams?

1 Like

Thanks a lot, i am glad that someone is willing to help.

This is my npc character definition:

I tried removing the Team Modifier entirely (didn’t help)

This are my current Island Settings:

I tried a couple of combinations of Teams and Team Size, but it still kept failing.

I try to put the NPC into the team right after the npc spawns. I grab the team from my Player.

Team modifier did not work when I tried npc. I use Verse and subscribe to spawned event and then add to team.

1 Like

What are your Island Settings for Teams and Team Size?
Do you use fort_team_collection.AddToTeam or a Team and Class device?
Did you remove the Team Modifier component entirely from your npc character definition?

Yes I use teams from team collection and AddToTeam. I always do team balancing manually, so it doesn’t matter what island settings are for teams. I think it is dynamic teams (all default settings I presume)

1 Like

What is your npc character definition set to? Is it using “Custom” too?
I have seen differences between guard, wildlife, custom fort characters etc.

Custom, sample behavior, no team modifier.

Re team index: I simply use the same index for players and npc in Verse. It might be that index in settings is not the same as real index. 3 might be 2

Will go through every detail that is different in my game. I have no npc_behavior set, so i will start with that and see if that helps somehow.

Oh, i am not using an index at all. I just get the team object using TeamCollection.GetTeam[Player]

Edt.: Can’t add the npc to any team, but i can add the player to any team on any index tho.

Ok, i tried to just add that npc to a team from TeamCollection.GetTeams() every tick.
Now i think i covered each combination of settings, the function never succeeds. Are you sure that you successfully added that npc to a team? Do you have some prints that would show if it fails?

I have added a tutorial

2 Likes

Still doesn’t work for me.

I should ask once more, are you really sure that you use a Custom Character instead of a Fortnite Character? I keep asking this because it only works for Fortnite Characters, but not for Custom Characters for me.

I used Custom type and Fortnite Character look / cosmetics.

UPDATE: I confirmed your issue, I replaced fort character with a custom cube and I got Could not assign team. if it is not a fort character, it can move like npc but is not in any team

2 Likes

The status of FORT-735296 incident has been moved from ‘Needs Triage’ to ‘To Do’.

3 Likes

Does it fail an actual casts to FortCharacter?

What’s the status of this? Is it still ‘To Do’?

It is

This is still an issue to this day, any updates/solutions on this ?

1 Like