If I start the server and going to wait 30 sec for this plane (check script), he shut down the server with the error "Level::AllocEdict: no free edicts" ... :S
i don't know what wrong, can someone help me...
Code: Select all
thread path_c47
...
path_c47:
wait 30
while(1)
{
spawn script_object "targetname" "pl1" "classname" "info_splinepath"
$pl1.origin = ( 0 -4100 1689 )
$pl1.angles = ( 0 90 0 )
$pl1.model = "vehicles/c47fly.tik"
spawn script_object "targetname" "pl2" "classname" "info_splinepath"
$pl2.origin = ( 0 -3000 1689 )
$pl2.angles = ( 0 90 0 )
$pl2.model = "vehicles/c47fly.tik"
spawn script_object "targetname" "pl3" "classname" "info_splinepath"
$pl3.origin = ( 0 -1900 1689 )
$pl3.angles = ( 0 90 0 )
$pl3.model = "vehicles/c47fly.tik"
spawn script_object "targetname" "pl4" "classname" "info_splinepath"
$pl4.origin = ( 0 -800 1689 )
$pl4.angles = ( 0 90 0 )
$pl4.model = "vehicles/c47fly.tik"
spawn script_object "targetname" "pl5" "classname" "info_splinepath"
$pl5.origin = ( 0 300 1689 )
$pl5.angles = ( 0 90 0 )
$pl5.model = "vehicles/c47fly.tik"
spawn script_object "targetname" "pl6" "classname" "info_splinepath"
$pl6.origin = ( 0 1400 1689 )
$pl6.angles = ( 0 90 0 )
$pl6.model = "vehicles/c47fly.tik"
$pl1.target = $pl2
$pl2.target = $pl3
$pl3.target = $pl4
$pl4.target = $pl5
$pl5.target = $pl6
spawn script_object "targetname" "bomberpath" "classname" "info_splinepath" "target" $pl1 "origin" "0 -5200 1689" "angles" "0 90 0" "model" "vehicles/c47fly.tik" "$mdl" "vehicles/c47fly.tik" "#set" "1" "speed" ".6"
}
wait 30
end


