| 08-27-2005, 04:48 PM | #1 | |
i have this trigger i did in JASS, and i THINK i did it right, but when i save the map, it gives me a bunch of errors either saying: Expected ')' or Expected ' for all my lines and i have no idea where to put in the )s or whatevers here's the jass i did Quote:
|
| 08-27-2005, 10:37 PM | #2 | |
Quote:
You didn't. The condition function has a lot of unneeded code. But most likelly the errors are because you have an extra ( after each set (variable)= statement |
| 08-28-2005, 07:22 PM | #3 |
hm... since i suck at jass, can you do it for me? if you have time? |
| 08-29-2005, 06:07 AM | #4 |
on each line count how many "(" you have and how many ")" you have for example: set udg_caster = ( GetSpellAbilityUnit() has 2 "(" but only 1 ")". That's a problem. In that line's case you want ether set udg_caster = ( GetSpellAbilityUnit() ) or better set udg_caster = GetSpellAbilityUnit() get the idea? |
| 08-29-2005, 04:09 PM | #5 |
for some of the lines they had the same numbers of ( and same numbers of ) it reduce the amount of errors though... |
| 08-29-2005, 04:18 PM | #6 |
or an ) after the () like set udg_caster = ( GetSpellAbilityUnit() ) |
| 08-30-2005, 01:08 AM | #7 |
these errors are often cause by a previous line having the wrong number of ( or ) check EVERY line for matching numbers of each not just the error lines. Also make sure you have () after every function and NOT after variables |
| 08-30-2005, 03:15 PM | #8 |
call IssuePointOrderLocBJ( udg_dummy[6](), "shockwavE", PolarProjectionBJ(GetUnitLoc(udg_dummy[6]()), 800.00, 0) ) im pretty sure its case sensitive. |
| 08-30-2005, 10:55 PM | #9 |
Yes, but it wouldn't give an error for that |
| 08-31-2005, 04:30 PM | #10 | |
Quote:
|
