Jump to content

Need help getting AI to respawn using radio after initial spawn


Recommended Posts

Posted

I am setting up a mission where you use radio to spawn in enemy units. The first time I use the radio the enemy spawns like it should. I am trying to get it so that whenever you use the command on the radio the units will spawn. I was using this script

 

if not Group.getByName('') then

mist.respawnGroup('', true)

end

 

but that spawns the unit in right after it is killed and not after I use the radio command. What is the script to get the unit to spawn when using the radio command only? Also, is there a way to make the spawn locations random on the map?

 

Thanks

  • 5 months later...
Posted

Obviously, kinda a dead thread.  But OP, willing to share what your solution was?  I've been trying to figure it out, and it's been kicking me in the balls for too long now.  My Google-Fu isn't helping to much either.  Thanks.

  • 1 month later...
Posted

Was wondering how you made this work? I'm getting the same issue right now. It just respawns immediately instead of waiting for my radio command. 

Callsign: KOBU
9th Virtual Fighter Squadron | 67th Virtual Aggressor Squadron

DCS World Philppines | Bank&Yank Channel

 

128292449_10217834603118801_400078752596

Posted

I am away from my computer till tomorrow. I will post the script then, but ya I did this using mist.  My AI only respond when I used the radio menu and they spawn each time at random locations within a given trigger zone.

  • 2 months later...
Posted

I just saw your response right now. Thanks for sharing this one. I'll try it out after work. Cheers.

Callsign: KOBU
9th Virtual Fighter Squadron | 67th Virtual Aggressor Squadron

DCS World Philppines | Bank&Yank Channel

 

128292449_10217834603118801_400078752596

  • Recently Browsing   0 members

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