Thanks, it works good, but when i shoot to helicopter, it blow-up but helicopter rotate on the air instead of falling to ground adn game show this error:
Console(only errors):
Code:
******* script runtime error *******
undefined is not a field object: (file 'maps/_vehicle.gsc', line 2094)
crashLoc.claimed = true;
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
undefined is not a field object
Could not find menu 'main'
******* script runtime error *******
undefined is not a field object: (file 'maps/_vehicle.gsc', line 2104)
self setvehgoalpos( ( crashLoc.origin[ 0 ], crashLoc.origin[ 1 ], self.origin[ 2 ] ), 1 );
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
undefined is not a field object
Could not find menu 'main'
******* script runtime error *******
undefined is not an array, string, or vector: (file 'maps/_vehicle.gsc', line 2104)
self setvehgoalpos( ( crashLoc.origin[ 0 ], crashLoc.origin[ 1 ], self.origin[ 2 ] ), 1 );
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
undefined is not an array, string, or vector
Could not find menu 'main'
******* script runtime error *******
undefined is not a field object: (file 'maps/_vehicle.gsc', line 2104)
self setvehgoalpos( ( crashLoc.origin[ 0 ], crashLoc.origin[ 1 ], self.origin[ 2 ] ), 1 );
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
undefined is not a field object
Could not find menu 'main'
******* script runtime error *******
undefined is not an array, string, or vector: (file 'maps/_vehicle.gsc', line 2104)
self setvehgoalpos( ( crashLoc.origin[ 0 ], crashLoc.origin[ 1 ], self.origin[ 2 ] ), 1 );
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
undefined is not an array, string, or vector
Could not find menu 'main'
******* script runtime error *******
type undefined is not a float: (file 'maps/_vehicle.gsc', line 2104)
self setvehgoalpos( ( crashLoc.origin[ 0 ], crashLoc.origin[ 1 ], self.origin[ 2 ] ), 1 );
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
type undefined is not a float
Could not find menu 'main'
******* script runtime error *******
type undefined is not a vector: (file 'maps/_vehicle.gsc', line 2104)
self setvehgoalpos( ( crashLoc.origin[ 0 ], crashLoc.origin[ 1 ], self.origin[ 2 ] ), 1 );
*
Error: called from:
(file 'maps/_vehicle.gsc', line 2041)
self thread helicopter_crash_move();
*
Error: called from:
(file 'maps/_vehicle.gsc', line 1948)
self thread helicopter_crash( attacker );
*
Error: started from:
(file 'maps/_vehicle.gsc', line 1813)
self waittill( "death", attacker );
*
Error: ************************************
dvar set com_errorTitle Error
dvar set com_errorMessage script runtime error
(see console for details)
type undefined is not a vector
Could not find menu 'main'