How to set a variable of an AActor before it is spawned by using Textbox input?

Somewhy it seems, that there are two different instances of gamemode BPs.