Newbie here is reaching out…
I’m making a FPS, featuring a launcher and a number of missiles. I want to prevent the player from launching another missile, before the first one has detonated or timed out.
For this, a variable in FPScharacter called “nuclearMissileLaunched” is set to TRUE and should be set to FALSE, when told so by the missile.
The issue is, that the variable is unavailable from the created instance. Is there a way to make it visible from within the missile?
I don’t want to use a global variable, as I want to learn good practice and that the map potentially involves two players.
Any help will be greatly appreciated.
FPScharacter, containing the launcher
The missile, created in FPScharacter