degoe Posted July 17, 2012 Posted July 17, 2012 Hello, I am trying to make a mission that initially spawns AI units to do a mission but dispatches them RTB when a client joins. I tried using the "if unit alive/dead" and "if unit group alive/dead" to trigger this but this hasn't worked until now. Does anybody know of a way to trigger this? Also I couldn't find a way to command units to RTB intermediately. To bypass this I tried using orbit at 0ft to make them crash. This worked initially but since the new patch the units just keep orbiting at low altitude. Is it possible to get the units to RTB or would anybody think it would be a good request for implementing?
Grimes Posted July 17, 2012 Posted July 17, 2012 Pretty straight forward actually. Group or Unit in zone for clients does not become true until the client aircraft spawns into the mission. So you can simply place a trigger zone which covers the clients spawning airfield. The solution to the other half of the problem is simply to use the "Switch Waypoint" triggered action and tell the AI to go to the last or near the last waypoint. Once> Client 1 in zone A OR Client 2 in zone A OR... > AI TASK (AI group, switch WP) The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
degoe Posted July 18, 2012 Author Posted July 18, 2012 Thank you, will try it out this evening. Feel welcome to check it out (19:00gmt) name will be DCONS-P51D-Bomber-Escort-MP-SP autoswitch v2. By the way I also have a problem with the cruise missiles not exploding after they hit target. This is only since the update to world 1.2 Am hoping to make an old fashioned bomber escort mission with a lot of mp dogfighting that can run on its own and determine a winner and then restart the round.
Grimes Posted July 18, 2012 Posted July 18, 2012 By the way I also have a problem with the cruise missiles not exploding after they hit target. This is only since the update to world 1.2 That cruise missile bug is a known issue. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
degoe Posted July 19, 2012 Author Posted July 19, 2012 What about an undo last action button in the mission editor....
Grimes Posted July 19, 2012 Posted July 19, 2012 There is no undo. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
degoe Posted July 19, 2012 Author Posted July 19, 2012 Last question, is there a way to make spawns available after a certain trigger. Tried to activate client group at a later time but you can spawn in the group right at the beginning of the mission.
Grimes Posted July 19, 2012 Posted July 19, 2012 Hmmm, I haven't tried that in 1.2.0 yet. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
HiJack Posted July 19, 2012 Posted July 19, 2012 There is no undo. Is it possible to make one for a later release?
degoe Posted July 19, 2012 Author Posted July 19, 2012 Hmmm, I haven't tried that in 1.2.0 yet. Did it work in earlier versions?
Recommended Posts