Jump to content

Recommended Posts

Posted

Hello,

 

I would like to make a mission where a convoy moves along the road of Sir Abu Ny'air Island (PG) continuously. When the entire convoy is destroyed, a new one spawns and moves along the same route.

 

What's the best method to get this done?

Posted

Thanks guys! :thumbup:

 

I used the MOOSE method and it works well.

 

spawn_convoy = SPAWN:New( "convoy" ):InitLimit( 4, 10 ):SpawnScheduled( 10, 1 )

 

At first nothing was spawning because my group size was 4 trucks and InitLimit was set to (2,10). When the first parameter of InitLimit is equal to the number of units in the convoy group, everything works.

 

I've attached the mission so others can figure this out if needed.


pg_convoy_respawn_moose.miz

convoy_respawn.lua

  • Recently Browsing   0 members

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