Hmm, i'm not noticing anything. Runs smoothly with 100 units (the current limit, takes 20 minutes to transport here).BTW, major performance hit on this mission...
Made me have a look at the performance monitor, anyway. The only thing i'm having above performance limits is the two hackAddMessage() calls. I may have a look at the tactics function (and victory condition function), but so far even that doesn't seem to be very heavy.
Unlike AI scripts, we can afford 10x larger max lag values here, because only one instance of the script is running.
Code: Select all
=== PERFORMANCE DATA ===
160 calls 0ms avg 0ms worst 0 over limit 0 over half limit eventDestroyed()
1 calls 1ms avg 1ms worst 0 over limit 0 over half limit eventTransporterExit()
1 calls 0ms avg 0ms worst 0 over limit 0 over half limit camCallOnce()
3 calls 0ms avg 1ms worst 0 over limit 0 over half limit __camContinueProduction()
1 calls 2ms avg 2ms worst 0 over limit 0 over half limit eventAreaScavTrigger()
1 calls 1ms avg 1ms worst 0 over limit 0 over half limit eventCheatMode()
2 calls 0ms avg 0ms worst 0 over limit 0 over half limit __camSetOffworldLimits()
1 calls 0ms avg 0ms worst 0 over limit 0 over half limit sendScouts()
1 calls 56ms avg 56ms worst 1 over limit 0 over half limit playYouAreInContraventionOfTheNewParadigm()
13 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventAreaNPTrigger()
23 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventObjectSeen()
345 calls 3ms avg 15ms worst 0 over limit 2 over half limit __camTick()
1 calls 6ms avg 6ms worst 0 over limit 0 over half limit eventStartLevel()
120 calls 0ms avg 2ms worst 0 over limit 0 over half limit eventGroupLoss()
13 calls 2ms avg 9ms worst 0 over limit 0 over half limit __camTacticsTick()
1 calls 21ms avg 21ms worst 1 over limit 0 over half limit playNPWarningMessage()
9 calls 0ms avg 0ms worst 0 over limit 0 over half limit eventAreaRemoveBeacon()
455 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventAttacked()
208 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventAreaNorthConvoyTrigger()
1 calls 1ms avg 1ms worst 0 over limit 0 over half limit eventAreaSouthConvoyTrigger()
9 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventPickup()
1 calls 1ms avg 1ms worst 0 over limit 0 over half limit eventAreaWestConvoyTrigger()
103 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventDroidBuilt()
20 calls 0ms avg 1ms worst 0 over limit 0 over half limit eventChat()
1 calls 0ms avg 0ms worst 0 over limit 0 over half limit playNPWarningSound()