GR00VYJERRY Posted March 3, 2021 Posted March 3, 2021 I am finally staring to mess around with MOOSE and have a few questions on something i am trying to do. This is the script I am playing with right now: Spawn_Plane = SPAWN:New("Plane"):InitRepeatOnEngineShutDown() Spawn_Plane:Spawn() It respawns my plane group when they RTB. 1. I am trying to figure out how to add multiple groups (EX: "plane1" "plane2" etc) or do i have to add these lines for each group I want to respawn after engine shutdown. 2. is there a way to set this on a timer? 3. How could I also add a script for respawning on being destroyed (Getting shotdown)? Thanks
GR00VYJERRY Posted March 4, 2021 Author Posted March 4, 2021 I got this working to respawn dead groups and relaunch groups that RTB but it won't respawn the group if a unit dies on the ground or ditches the plane on the ground (which happens a bit with warbirds): local Group_Spawn = SPAWN:New("Plane1") Group_Spawn:InitLimit(2, 0) Group_Spawn:SpawnScheduled(10,0) Group_Spawn:InitRepeatOnLanding() Any thoughts on how to make it work for dead units on the ground?
Recommended Posts