Select all triggers per team Index

How can i select all Triggers per Team index with verse (I have already put a tag on all triggers)?
image

if you’ve tagged them all properly you access devices with tags like this

Team_1_Trigs := class(tag):

Test_Device := class(creative_device):
    
    var Team_1_Trig_Array : []trigger_device = array{}
    OnBegin<overrides>()<suspends>:void=
        T1_Trigs := GetCreativeObjectsWithTag(Team_1_Trigs{})

        for(Item : T1_Trigs):
            if(Trigger := trigger_device[Item]):
                #Do something with trigger here 
                set Team_1_Trig_Array += array{Trigger} # here i added every trigger to a variable of trigger arrays so that i can access them without needing to do this loop again. 
                

Hi,
But I already have a tag on triggers like yours example Team_1_Trigs.
In that existing tag, I have different Team indexes.
Can I from Team_1_Trig_Array add new var array with different team index?

Like
var Team_Index_1 : trigger_device = array{}
var Team_Index_2 : trigger_device = array{}
var Team_Index_3 : trigger_device = array{}
var Team_Index_4 : trigger_device = array{}

i guess i don’t 100% understand your use case, i would just make a tag for each teams trigger and a variable for each teams array of triggers and call it a day.

I set one tag on all triggers, now I need to manipulate per indexes. that I had to go manually and add new tags, so I thought if there was a solution through verses

I think what the person told you was to use one tag per team index instead of one tag for all triggers

I have already created a project with one tag, now I have to manually go and change it to 1600 tags. that’s why I asked if it is possible to select by team index.
Thank you for your reply

Well I don’t see any easy way to do it, you could use an attribute evaluator and trigger each trigger on your players untill you remapped the corresponding team index to each triggers, but would require a bit of code :man_shrugging: