Jump to content

Recommended Posts

Posted

I'm using MOOSE for scripting, but I'm having a problem with it Spawning my Hidden Units as Visible.

RosSARSpawn = SPAWN:New("RosSAR")
RosSAR = RosSARSpawn:Spawn()
RosSAR:HandleEvent(EVENTS.Land)

function RosSAR:OnEventLand(EventData)

    RosSAR = RosSARSpawn:Spawn()
end
 

It's a simple script that spawns a SAR bird to follow the Roosevelt, and respawn when the unit lands. It works great, except I have the SAR bird Hidden in the ME, but in Multi-Player, the unit is visible on the F10. In SP it's not visible on the F10.

I was wondering if there was a way in MOOSE to specify that the Spawn is hidden. I've tried adding :SpawnVisible(false), but I got an error.

Any ideas?

DM

[PC] ASUS X570E - Ryzen 9  5950X - RX 6900 XT - 32GB 3600Mhz

Hornet, A-4E-C, Huey, Ka-50, Mi-8, F-15E, F-14

Join us on Death Dealers PvE server.

  • Recently Browsing   0 members

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