• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] "Expected end of line"

Status
Not open for further replies.
Level 3
Joined
May 3, 2004
Messages
46
The casual me is once again trying to Jass, so as a little warmup I was going to make the knockback spell again and got an error I've never gotten before.

"Expected end of line"

What does this mean really? I've been looking if I've missed any ')'s but havn't found anyone missing, so what does this really mean? :)

JASS:
call SetUnitPositionLoc(udg_Ab_ChargeCaster[GetConvertedPlayerId(udg_Ab_ChargeOwner)]), PolarProjectionBJ(GetUnitLoc(udg_Ab_ChargeCaster[GetConvertedPlayerId(udg_Ab_ChargeOwner)]), DistanceBetweenPoints(GetUnitLoc(udg_Ab_ChargeCaster[GetConvertedPlayerId(udg_Ab_ChargeOwner)]), GetUnitLoc(udg_Ab_ChargeTarget[GetConvertedPlayerId(udg_Ab_ChargeOwner)])+d), AngleBetweenPoints(GetUnitLoc(udg_Ab_ChargeCaster[GetConvertedPlayerId(udg_Ab_ChargeOwner)]),GetUnitLoc(udg_Ab_ChargeTarget[GetConvertedPlayerId(udg_Ab_ChargeOwner)])))

And yes, I know local variables prolly is easier and less messy, but gonna change that later ^^
 
Level 9
Joined
Aug 10, 2007
Messages
92
That line is a mess o_O

call SetUnitPositionLoc(udg_Ab_ChargeCaster[GetConvertedPlayerId(udg_Ab_ChargeOwner)]), PolarProjectionBJ......

I haven't analyzed it allm but the red ) shouldn't be there from what I can tell...
 
Status
Not open for further replies.
Top