I added in a Charge ability to the terrained version of the map.
May I tell you another problem?Good looking, but found some leaks in the code(about 5 point leaks), so I fixed them. You forgot to remove the points inside the loops and the charge units point leaked.
May I tell you another problem?
The Order ID for flamethrower and rocket is the same thing.
Yes I know. There aren't enough original wc3 spells for all of the custom spells so the spell selection will be like the warlock one. Meaning some spells are based on the same one and when you buy a spell all the other spells that are based on the same one will disappear from your shop.May I tell you another problem?
The Order ID for flamethrower and rocket is the same thing.
Charge effect
Events
Time - Every 0.04 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in ChargeGroup and do (Actions)
Loop - Actions
Set ChargeUnit = (Picked unit)
Set ChargePoint3 = (Position of (Picked unit))
Set ChargeGroup2 = (Units within 250.00 of ChargePoint3 matching (((Matching unit) belongs to an enemy of (Owner of ChargeUnit)) Equal to True))
Unit Group - Pick every unit in ChargeGroup2 and do (Actions)
Loop - Actions
Set ChargePoint = (Position of (Picked unit))
Set ChargePoint2 = (ChargePoint offset by 20.00 towards (Angle from ChargePoint3 to ChargePoint) degrees)
Unit - Move (Picked unit) instantly to ChargePoint2
Custom script: call RemoveLocation (udg_ChargePoint)
Custom script: call RemoveLocation (udg_ChargePoint2)
Set ChargePoint2 = ([COLOR="RoyalBlue"]ChargePoint[/COLOR] offset by 20.00 towards (Facing of ChargeUnit) degrees)
Unit - Move ChargeUnit instantly to ChargePoint2
Special Effect - Create a special effect attached to the origin of ChargeUnit using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
Special Effect - Destroy (Last created special effect)
Custom script: call RemoveLocation (udg_ChargePoint2)
Custom script: call RemoveLocation (udg_ChargePoint3)
Custom script: call DestroyGroup (udg_ChargeGroup2)
It's a lot more than testing left^^ Although still not that much since terrain is done, got about 5 spells (of 20-40 will see how many it will be.) But there is still no traps added (except the pit and the fire pits but the pit isn't 100% working yet.)i havent played it yet, but i always loved these type of things, i can help you test if thats all left.