- Joined
- Apr 19, 2011
- Messages
- 447
Hi.
I have a spell well lightning effects are involved, and I want to make the lightning type fully configurable. However, I don't how to do it.
I'm actually using this:
I've tried these two ways, and none of them works, both give me syntax errors:
How would be the correct way to do this?
Regards
I have a spell well lightning effects are involved, and I want to make the lightning type fully configurable. However, I don't how to do it.
I'm actually using this:
- Custom script: set udg_TempLight = AddLightningEx("FORK", true, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 0, GetUnitX(GetTriggerUnit()) + 500, GetUnitY(GetTriggerUnit()), 100)
I've tried these two ways, and none of them works, both give me syntax errors:
- Set LV_LT = "FORK"
- Custom script: set udg_TempLight = AddLightningEx(udg_LV_LT, true, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 0, GetUnitX(GetTriggerUnit()) + 500, GetUnitY(GetTriggerUnit()), 100)
- Set LV_LT = FORK
- Custom script: set udg_TempLight = AddLightningEx("udg_LV_LT", true, GetUnitX(GetTriggerUnit()), GetUnitY(GetTriggerUnit()), 0, GetUnitX(GetTriggerUnit()) + 500, GetUnitY(GetTriggerUnit()), 100)
How would be the correct way to do this?
Regards