| 08-19-2006, 11:57 PM | #1 |
I was looking over the change log and saw that projectiles should look more realistic due to changing the Z-Angle so all I did was make a stupid little trigger to see this change and I couldn't get it to work, although when I pasted it to 13.3 it worked fine.(but without the z angle thing ofcourse I couldn't copy and paste the error log because it would remove things from it after saying Trigger 'Caster System' has been disabled due to errors, then I would click a button that says OK, then all the error log entries for that trigger dissapeared. but if you wanna see it for yourself just paste this trigger into 13.7 JASS:function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing set udg_TempUnits[0] = gg_unit_Usyl_0065 set udg_TempUnits[1] = gg_unit_Uanb_0078 call ProjectileLaunchLoc("Abilities\\Weapons\\Arrow\\ArrowMissile.mdl", 100, .20, GetUnitLoc(udg_TempUnits[0]), 50, GetUnitLoc(udg_TempUnits[1]), 50) endfunction //=========================================================================== function InitTrig_Untitled_Trigger_001 takes nothing returns nothing set gg_trg_Untitled_Trigger_001 = CreateTrigger( ) call TriggerRegisterTimerEventPeriodic( gg_trg_Untitled_Trigger_001, 2 ) call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions ) endfunction Yes I know this trigger leaks, and its inefficient for declaring the variables each time, but like I said I was just setting something up really quick to see what it looked like. and it doesn't cause errors and does launch a projectile in 13.3 Thanks for any help. |
| 08-20-2006, 12:04 AM | #2 |
most likelly the error is another thing. The function arguments themselves weren't changed. I can't guess what's going on, so try checking out the first error window? If it is impossible then download VWE (link on signature) it should make it easier to see the real error. Use [jass] tags next time. |
| 08-20-2006, 12:42 AM | #3 |
Here is a link to the screen shot of the first error(remember I can't click anything to copy and paste) http://img213.imageshack.us/my.php?image=errorrd0.jpg Basically the first thing it does is disable caster system which you see in the pic, and then it proceeds to disable every single trigger in the game. and I just click the OK button a million times(I would check and read the errors except I can't click on it.) until I say ok to disabling every trigger. But I hope this first error can help you understand it. i'll try again in VWE although I really cannot understand how my trigger down below it all would change anything to disable the triggers above when I can already save it just fine when I don't edit anything. |
| 08-20-2006, 12:47 AM | #4 |
My bet is that you didn't implement CSCache |
| 08-20-2006, 02:06 AM | #5 |
I'm doing this right in your demo map, the only difference is that it has an extra trigger at the bottom which is the one above.(and 2 extra units) BTW- I'm not trying to complain at all, I'm just thinking of this as a bug report and I want to give you the info. I'm guessing its a CS bug since it works in 13.3 sorry if its my bug. |
| 08-20-2006, 02:39 AM | #6 |
Well let's say that the syntax error appears in either if (t==null) then or: call TriggerRemoveAction(t,GetAttachedTriggerAction(t,"ac")) The error is "Expected a name" so it means a variable/function name used is missing. |
| 08-20-2006, 04:46 AM | #7 |
Anywayrs zergleb if nothing helps, try attaching the bugged map to the pastebin and send me the link so I can check it out |
