okay im really annoyed with this.... i have a trigger with the 3 actions
and this trigger is working perfectly fine (i removed some action beetween the actions)
and so i wanted to create one more lightning effect with height so i made an trigger with following actions
but on the exact same action just with other variables i get an error saying "Expected a name".... why does one get an error while the other doesnt?+ can someone please explain to me a little about how this custom script lightning action works...
Trigger:
- Custom script: call AddLightningEx("CLPB", true, GetLocationX(udg_Light_Start_Point), GetLocationY(udg_Light_Start_Point), 290, GetLocationX(udg_Light_End_Point), GetLocationY(udg_Light_End_Point), 30)
- Set Storm_Charge_Lightning[(Integer A)] = (Last created lightning effect)
- Lightning - Destroy Storm_Charge_Lightning[(Integer A)]
and this trigger is working perfectly fine (i removed some action beetween the actions)
and so i wanted to create one more lightning effect with height so i made an trigger with following actions
Trigger:
- Custom script: call AddLightningEx("DRAM", true, GetLocationX(udg_Dark_Start_Point), GetLocationY(udg_Dark_Start_Point), 290, GetLocationX(udg_Dark_End_Point), GetLocationY(udg_Dark_End_Point), 30)
- Set Tower_Charge_Lightning[(Integer A)] = (Last created lightning effect)
- Lightning - Destroy Tower_Charge_Lightning[(Integer A)]
but on the exact same action just with other variables i get an error saying "Expected a name".... why does one get an error while the other doesnt?+ can someone please explain to me a little about how this custom script lightning action works...