• 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.

"Expected, or returns" compile error

Status
Not open for further replies.
Level 13
Joined
Mar 24, 2013
Messages
1,105
Well I got this function off http://www.hiveworkshop.com/forums/miscellaneous-tutorials-456/about-movement-172309/

JASS:
library ParabolicMovement

function GetParabolaZ takes real x, real d, real h, returns real
     return 4 * h * x (d -x) / (d * d)
endfunction

endlibrary

But for some reason its throwing me an error, and I'm sure its cause of my very limited knowledge of Jass, but maybe someone could tell me what I need to fix.
 
Status
Not open for further replies.
Top