The computer controlled units are set to attack a specific moving target. To prevent players from blocking the computer i decided to try and use blink ability to jump over player's obstacles. The problem is the target has to be with in cast range of the computer's units in order for the computer to be successful with the casting of the copy of the blink ability. I need the computer's units to blink "TOWARD" the target and not "TO" the target. I was looking in the abilities section, i think i have removed all validations and filters in a attempt to achieve this but i have been unsuccessful. if anyone can provide me with the directions i need or a viable alternative(remember the computer's patch is random, unpredictable, and changing continuously) please let me know.
(Unit type of (Triggering unit)) == Round 7 - Alien
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Random integer between 0 and 10) == 5
Then
Unit - Order (Triggering unit) to (Stalker - Blink targeting (Center of moveRegion[(Integer((Custom value unitSpawnGroupIndex of (Triggering unit))))][(Integer((Custom value unitMoveIndex of (Triggering unit))))])) (Before Existing Orders)
Else
This works perfectly for me. You can ignore the indexing.
so i tried what u said and to no avail the enemy must be within blink range of the target in order to cast blink. I want the enemy to blink even if the target is not in range.
if i set the range of blink to 500 then the unit will blink across the map, so i have it set to 10. it works if i set it to 500 but it will ruin the game if a enemy can reach the target or the players can confine the enemy
The computer controlled units are set to attack a specific moving target. To prevent players from blocking the computer i decided to try and use blink ability to jump over player's obstacles. The problem is the target has to be with in cast range of the computer's units in order for the computer to be successful with the casting of the copy of the blink ability. I need the computer's units to blink "TOWARD" the target and not "TO" the target. I was looking in the abilities section, i think i have removed all validations and filters in a attempt to achieve this but i have been unsuccessful. if anyone can provide me with the directions i need or a viable alternative(remember the computer's patch is random, unpredictable, and changing continuously) please let me know.
BUMP!>>>
bump again
@SoulTaker916: Go
If you order it to blink somewhere and it's too far away, it just blinks in the direction of the target.
Isn't that what you want?
the trigger only activates if its in range of the target. i tested by increasing blink range.
Here is my trigger. Events
Unit - Any Unit is attacked
Local Variables
Conditions
(Unit type of (Triggering unit)) == Round 7 - Alien
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Random integer between 0 and 10) == 5
Then
Unit - Order (Triggering unit) to (Stalker - Blink targeting (Center of moveRegion[(Integer((Custom value unitSpawnGroupIndex of (Triggering unit))))][(Integer((Custom value unitMoveIndex of (Triggering unit))))])) (Before Existing Orders)
Else
This works perfectly for me. You can ignore the indexing.
alot more complex of a action than i was useing
were r all those options? ur doing target point?
@SoulTaker916: Go
Ignore the moveRegion stuff. Just replace it with your point or center of region or whatever.
so i tried what u said and to no avail the enemy must be within blink range of the target in order to cast blink. I want the enemy to blink even if the target is not in range.
@SoulTaker916: Go
What is the range of your blink spell? I have mine set to 500.
if i set the range of blink to 500 then the unit will blink across the map, so i have it set to 10. it works if i set it to 500 but it will ruin the game if a enemy can reach the target or the players can confine the enemy
@SoulTaker916: Go
No, that's not how it works. The range is the range it can cast. The effect itself controls how far it moves.
OH!!!!!!!!!!!!!!!!!!!
ok so i changed status(range)=500 and Target(range)=10
now it works THANKS!