Jump to content

Recommended Posts

Posted

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?

Posted

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 ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

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.

Posted

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 ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...