Hi thanks for looking
i use tags thanks to this Youtube Tut
so i have this code which has an empty array im trying to fill it ith my guard spawners
# my tag for guard spawners
YourAGuard := class(tag){}
this my empty array
var AnArray : guard_spawner_device = array{}
# in the on begin i use tags and add all Guard Spawners to this Array
GaurdSpawners:= GetCreativeObjectsWithTag(YourAGuard{})
# then loop thru array and subscribe them to the eliminated event
for (Gaurds : GaurdSpawners, Agaurd := guard_spawner_device[Gaurds]):
Agaurd.EliminatedEvent.Subscribe(GuardElimination)
# but i now need the actul spawners not
# i tried adding this but it dosnt add them
if (set AnArray[0] = Agaurd):
# i also tried
for (Index := 0..GaurdSpawners.Length - 1):
Print("{Index}")
if (set AnArray[Index] = Agaurd):
set temp = AnArray.Length
Print("guard array is {temp} long")
so my question how do i get the spawners in an array without doing the @editable thing thanks