Untargetable Unit

Status
Not open for further replies.
Level 1
Joined
Jul 14, 2009
Messages
2
Hey, since this is my first post I would like to start out by saying Hey. [coincidence? I THINK NOT!]

But anyway, to the problem;

I am making a map [currently in alpha] and I made a custom unit [mountain giant with http://www.hiveworkshop.com/forums/skins-552/flesh-giant-61158/ skin] and then I placed one on the map to check if everything worked right and what not, so I hit test map and I cannot target him.

I decided to test with friend online and he attacks, moves, etc, but I cannot control. He only moves from an enemy being nearby or rally point. Neither me nor by friend could target. Also, his units would not fire at the unit either. I forget whether or not town halls would.

Anyone know how to fix this problem? I've tried adjusting selection scales and a few other things. I tried searching but couldn't come up with anything, sorry if there's already a thread like this.

Thxx in advance!

edit: solution found, apparently flesh giants don't like locusts, makes sense now that I think about it lol.
 
Last edited:
Level 14
Joined
Mar 4, 2009
Messages
1,156
you mean you can select him but you cannot click on him?(is its not a problem in that try using same model in another map)
well there is a way

first if you want his stats in WE
select him and press enter
if you want to move him in WE press Alt

now if you want to target him in game

>unit is ordered targeting a point
set POINT = target point of issued order
set UNITGROUP = unit within 100 range of POINT matching condition matching unit equal to unit of type (unit type with your model)
---if random unit from UNITGROUP is alive than
-wait 0.00 seconds
-order (ordered unit) to right-click to random unit from UNITGROUP
-else .....(no action)
Custom script:call RemoveLocation(udg_FPOINT)
Custom script:call DestroyGroup(udg_UNITGROUP)

the problem is that his skit doesn't´t have a body to target,its lake when unit
has armor aura and if you click on his armor aura you will not target/select him

of if you don't have a lot of that unit

every 0.10 sec of game
move BODY instantly to (your skin unit)

now if BODY is selected - select skin unit
if BODY is targeted - order unit to target your skin unit

tell me witch way you want if you want me to make it more clear
 
Level 1
Joined
Jul 14, 2009
Messages
2
you mean you can select him but you cannot click on him?(is its not a problem in that try using same model in another map)
well there is a way

first if you want his stats in WE
select him and press enter
if you want to move him in WE press Alt

now if you want to target him in game

>unit is ordered targeting a point
set POINT = target point of issued order
set UNITGROUP = unit within 100 range of POINT matching condition matching unit equal to unit of type (unit type with your model)
---if random unit from UNITGROUP is alive than
-wait 0.00 seconds
-order (ordered unit) to right-click to random unit from UNITGROUP
-else .....(no action)
Custom script:call RemoveLocation(udg_FPOINT)
Custom script:call DestroyGroup(udg_UNITGROUP)

the problem is that his skit doesn't´t have a body to target,its lake when unit
has armor aura and if you click on his armor aura you will not target/select him

of if you don't have a lot of that unit

every 0.10 sec of game
move BODY instantly to (your skin unit)

now if BODY is selected - select skin unit
if BODY is targeted - order unit to target your skin unit

tell me witch way you want if you want me to make it more clear

Like you couldn't click or select or attack or move or anything him. But I got it to work, I think it was something to do with Locusts.
 
Status
Not open for further replies.
Top