- Beiträge: 5360
- Dank erhalten: 4
IF exist sweaw.exe Start sweaw MODPATH=Mods\Modname LANGUAGE=GERMAN
IF exist swfoc.exe Start swfoc MODPATH=Mods\Modname LANGUAGE=GERMAN
Especially when the game runs with 2x speed.
Then I found out the .Despawn() command doesent likes to be used inside a for loop, which caused the crash.
if Distance < 160 then
The change owner command can crash the script if it is placed under or over a wrong command.
function Destroy_Nearby_Units ()
if The_Ship ~= false then
The_Ship = false
Register_Death_Event is a function that constantly checks for the destruction of that unit, and appearently contributed to some similar loading crashes in conjunction with my if statement above and the loading process.