Jump to content

Recommended Posts

Posted

Hi guys

I'd really like to ask for the lua task "refueling" to be made so that it can be used for a Unit also, like many of the other tasks do.

The task works for a Group, but if you give it to a Unit (such as your wingman), the Unit will "RTB".

Examples: 

Refueling = { 
  id = 'Refueling', 
  params = {} 

Group.getByName('Ram-2'):getController():setTask(Refueling)   <-- this works fine for an AI group
Unit.getByName('Ram-2-2'):getController():setTask(Refueling)   <-- if used on player's wingman, wingman will RTB

Keep up the good work - love it.

  • Recently Browsing   0 members

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