• 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] A Strange Error

Status
Not open for further replies.
Level 13
Joined
Nov 22, 2006
Messages
1,260
I'm using JassNewGenPack and I saved my map, and it returned errors:

Too many arguments passed to function:

JASS:
call SetCameraBounds(- 3328 , 0 + GetCameraMargin(CAMERA_MARGIN_LEFT) , - 3584 , 0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM) , 3328 , 0 - GetCameraMargin(CAMERA_MARGIN_RIGHT) , 3072 , 0 - GetCameraMargin(CAMERA_MARGIN_TOP) , - 3328 , 0 + GetCameraMargin(CAMERA_MARGIN_LEFT) , 3072 , 0 - GetCameraMargin(CAMERA_MARGIN_TOP) , 3328 , 0 - GetCameraMargin(CAMERA_MARGIN_RIGHT) , - 3584 , 0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM))

Too many arguments passed to function:

JASS:
call DefineStartLocation(0 , - 2048 , 0 , - 2176 , 0)

But I didn't make those lines! It's what WE did! How can then be errors?! (though I think it really passed too many arguments, but I don't know why......)

Thanks in advance
 
Last edited by a moderator:
Level 13
Joined
Nov 22, 2006
Messages
1,260
I think I haven't been clear enough. Those function were made by WE, not me. For example if I put a camera, the WE will create functions like: CameraSetupFarZ(<that camera>,.....), CameraSetupPosition(<that camera>,......) (these function probably don't exist, but you know what I mean)

So in other words, how do I change it then? (though I don't know why WE did that mistake)
 
Status
Not open for further replies.
Top