Interaction limitations with script spawned actors?
Posted: 13 Jul 2016, 23:25
I'm writing (badly) a mut that spawns several actors that will then interact with each other several ways. Functions are in a parent class and the actors that are being spawned are children with unique defaults. I've tested functionality by placing them in a map and everything worked fine. Spawning them with script though they seem to lose all interaction with each other.
Testing this further I just tried spawning a unique trigger set to toggle an effect. GET commands verify the actors exist in the world and event/tag matches. Activating the trigger produces its message but that event never seems to be making it to the effect as bEnabled never changes.
My thoughts on this is that during load the game creates an index of actors in the map. If this is the case, might there be some way to refresh the index after my actors are spawned? I considered replication being the issue but since the actors I'm spawning worked as intended if they were instead placed I doubt this very much.
Testing this further I just tried spawning a unique trigger set to toggle an effect. GET commands verify the actors exist in the world and event/tag matches. Activating the trigger produces its message but that event never seems to be making it to the effect as bEnabled never changes.
My thoughts on this is that during load the game creates an index of actors in the map. If this is the case, might there be some way to refresh the index after my actors are spawned? I considered replication being the issue but since the actors I'm spawning worked as intended if they were instead placed I doubt this very much.