mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
SPAWNSTATIC class reworked
**SPAWNSTATIC** - Added option to link statics to units, e.g. carriers. - Fixed SpawnFromType function. - Added :InitXYZ functions to set parameters. - Removed ReSpawn functions. Pointless here. Use Respawn of STATIC class instead. - Updated docs. **COORDINATE** - Added optional parameter to IsDay() and IsNight() functions to check on specific time. **STATIC** - Fixed Respawn functions so that statics do not appear on top of each other. **UTILS** - Added optional parameter to GetMissionDay and GetMissionDayOfYear functions. **AIRBOSS** - Adjusted recovery turn time interval back to 5 min in :SetRecoveryTurnTime() function.
This commit is contained in:
@@ -2624,10 +2624,10 @@ end
|
||||
|
||||
--- Set time before carrier turns and recovery window opens.
|
||||
-- @param #AIRBOSS self
|
||||
-- @param #number interval Time interval in seconds. Default 600 sec.
|
||||
-- @param #number interval Time interval in seconds. Default 300 sec.
|
||||
-- @return #AIRBOSS self
|
||||
function AIRBOSS:SetRecoveryTurnTime(interval)
|
||||
self.dTturn=interval or 600
|
||||
self.dTturn=interval or 300
|
||||
return self
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user