bOb666777
Stand against the ugly world domination face!
- Reaction score
- 117
i get a few "missing ')'" errors and 1-2 syntax errors in that line:
in case it might help, here are more lines
Wheres the error?
------
Solved.
JASS:
set udg_PinballScatterFaceAngle[currentloop] = ( ( udg_PinballScatterFaceAngle[currentloop] + 180.00 ) + ( ( AngleBetweenPoints(GetUnitLoc(PinballScatterUnit)), udg_PinballScatterTempPoint) - udg_PinballScatterFaceAngle[currentloop] ) / 2.00 ) )
in case it might help, here are more lines
JASS:
loop
exitwhen currentloop > endofloop
set udg_PinballScatterTempPoint = PolarProjectionBJ(GetUnitLoc(udg_PinballScatterProjectile[currentloop]), 30.00, udg_PinballScatterFaceAngle[currentloop])
if ( Trig_Move_Pinballs_Func001Func005C() ) then
set PinballScatterUnit = GroupPickRandomUnit(GetUnitsInRangeOfLocMatching(48.00, udg_PinballScatterTempPoint, Condition(function Trig_Move_Pinballs_Func001Func005Func001002001003)))
call Trig_Move_Knockback(PinballScatterUnit, AngleBetweenPoints(udg_PinballScatterTempPoint, GetUnitLoc(PinballScatterUnit))
set udg_PinballScatterFaceAngle[currentloop] = ( ( udg_PinballScatterFaceAngle[currentloop] + 180.00 ) + ( ( AngleBetweenPoints(GetUnitLoc(PinballScatterUnit)), udg_PinballScatterTempPoint) - udg_PinballScatterFaceAngle[currentloop] ) / 2.00 ) )
set PinballScatterUnit = null
else
endif
set currentloop = currentloop + 1
endloop
Wheres the error?
------
Solved.