I want to Initialize creatures when they has spawned. So I code this:
InitCreatures( Agent:agent ):void=
if( FC:= Agent.GetFortCharacter[] ):
set spawnedCreatures += array{ FC }
Print( "{spawnedCreatures.Length}" )
But it never prints the length! It Subscribes when the button device interacted. So I pressed. It never happens. How do I solve this thing?