- Joined
- Mar 11, 2014
- Messages
- 36
Hi guys, I would like to use what this brother asked for in 2009 on my map.
Can someone fix this
Tempest
"Alright, so im fairly sure if you guys have played any other RTS, artillery behaves different since their projectiles dont usually land dead on their specified target, they often hit a random area in a small zone.
however, as we all know, wc3 units are always dead smack on target.
so how would i create random attack ground targets?"
Random Attack Position (Errr...look inside)
Alright, so im fairly sure if you guys have played any other RTS, artillery behaves different since their projectiles dont usually land dead on their specified target, they often hit a random area in a small zone. however, as we all know, wc3 units are always dead smack on target. so how...
www.hiveworkshop.com
Random Attack Position (Errr...look inside)
Alright, so im fairly sure if you guys have played any other RTS, artillery behaves different since their projectiles dont usually land dead on their specified target, they often hit a random area in a small zone. however, as we all know, wc3 units are always dead smack on target. so how...
Can someone fix this
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Tempest Artillery Tank
Actions
Set TempPoint = (Position of (Attacked unit))
Set TempPoint1 = (TempPoint offset by (Random real number between 0.00 and TempestRandomAttackX) towards (Random angle) degrees)
Set TempestPoint1 = (Position of (Attacking unit))
Set TempestPoint2 = (Position of (Attacked unit))
Set TempestRandomAttackX = ((Distance between TempestPoint1 and TempestPoint2) / 30.00)
Unit - Order (Attacking unit) to Attack Ground TempPoint1
Custom script: call RemoveLocation(udg_TempPoint1)
Custom script: call RemoveLocation(udg_TempPoint)
Custom script: call RemoveLocation(udg_TempestPoint1)
Custom script: call RemoveLocation(udg_TempestPoint2)
"Alright, so im fairly sure if you guys have played any other RTS, artillery behaves different since their projectiles dont usually land dead on their specified target, they often hit a random area in a small zone.
however, as we all know, wc3 units are always dead smack on target.
so how would i create random attack ground targets?"

















