| 02-26-2004, 11:59 AM | #1 |
I don't get the Bonus Mod to work, it's made by weaaddar. I did like this to define it: Created a new trigger Edit -> Convert to Custom Text Then I pasted the code in the "Trigger Function" field. Then when i set "Enable" it says something like this: Script errors JASS 44 compile errors Line 157: Expected a name Line 176: Expected a name And so i goes on and on, total of 44 erros, as it says. Why and what is wrong? The cod is this code http://kattana.users.whitehat.dk/viewfunc.php?id=226 |
| 02-26-2004, 12:50 PM | #2 |
You most likely forgot this global integer array: "BnsBit" The BonusMod needs to have that global array, so go into the Variable Editor, and create a new Integer Variable, convert it to Array, and name it: BnsBit Also, don't paste the code into a converted Trigger, instead, paste it into the maps header. That is, in the "Trigger List", press the Top-Most item in it, (it says your maps name). Cubasis |
| 02-26-2004, 01:43 PM | #3 |
Thank you very much! Hope it will work! |
