What's wrong with this script?
_aaaPos1 = ["randomAAA1","randomAAA2","randomAAA3"]
_ranPos1 = ( _aaaPos1 select ( random ( (count _aaaPos1) - 0.5 ) ) )
_vehicle = ["VIT_BMD3","VIT_BMD3M","VIT_BMP3","VIT_BMP3A","VIT_BTR80"]
_ranVehicle1 = ( _vehicle select ( random ( (count _vehicle) - 0.5 ) ) )
#Sector1Create
_tank1 = "DKMM_TUNGUSKA" createvehicle getMarkerPos _ranPos1
"Suchcrew" createunit [getMarkerPos _ranPos1, earm1, "ec1 = this", 1, "SERGEANT"]
"Suchcrew" createunit [getMarkerPos _ranPos1, earm1, "ec2 = this", 1, "CORPORAL"]
"Suchcrew" createunit [getMarkerPos _ranPos1, earm1, "ec3 = this", 1, "PRIVATE"]
ec1 moveincommander _tank1
ec2 moveingunner _tank1
ec3 moveindriver _tank1
_escort1 = _ranVehicle1 createvehicle getMarkerPos _ranPos1
_IFV = ["VIT_BMD3","VIT_BMD3M","VIT_BMP3","VIT_BMP3A"]
_APC = ["VIT_BTR80"]
if (_escort1 == typeOf _IFV) : goto "IFV1"
~0.5
if (_escort1 == typeOf_APC) : goto "APC1"
But the script doesn't go to "IFV1" or "APC"