I need unique Ids to be generated at runtime, because I use object variables on combatants and they need to not be shared. So I need each combatant to have unique Ids. How do I generate a new id and assign it to a combantant when they're initialized? I think I can put a game event in the default init of each combatant, then call a function in the game event, but I just need some help with the script. I would do something like
But I don't know how to
1- change the ORK GUID
2 - Make the change by actors or by selected data, not by combatant index, so I can change the variables of the combatant that started the script.