So basically I would like an item, say Active Camo, to spawn at start and after a specified amount of time, despawn and be replaced by and Overshield with the two alternating in that manner for the duration of the match.
So I created a script brain with two timer scripts:
Script one: On timer(Initial Delay: .3; Repeat Timer: .3), Message:Send; Channel Alpha
Script two: On timer(Initial Delay: 0; Repeat Timer: .3), Message:Send; Channel Bravo
Then I created an AC and OS with these Scripts
Active Camo:
Script one: On Message Received, Channel alpha, Spawn
Script two: On Message Received, Channel bravo, Despawn
Overshield
Script one: On Message Received, Channel alpha, Despawn
Script two: On Message Received, Channel bravo, Spawn
Now in theory I feel like this should work properly, but when i create the AC and OS scripts in forge, the two both despawn by the time specified by the brain, but never respawn. So I decided to save the map anyway and load it up in slayer, except neither of the power-ups have spawned and never do.
My theories are that the the objects are failing to listen while despawned, or when they despawned while I was forging, they were actually deleted and were not in the game at all when I saved the map.
Any help either letting my know what I’m doing wrong or how to perform this action properly would be greatly appreciated.