| 10-27-2004, 07:41 PM | #1 |
i need to know how to make a unit that can move but can't be controled by its owner so that only triggers can make the unit move or stop... or at least i would need the unit to be unselectable but not invulunerable. i know i can just deselect it every time it's selected and thats what i did but it would look way better if the unit is selected but uncontrolable... |
| 10-27-2004, 08:50 PM | #2 |
Im sure(Almost) its a skill named ??? add it on the unit and will be unselectable i already did..if its not thats look the crypt lord ult. these beetle flying have the skill |
| 10-27-2004, 09:08 PM | #3 | |
Quote:
he mean Aloc abilty. This ability, however, make the unit untargetable/invulnerable also. Furthermore, the unit with this ability won't be shown on the radar. Try getting the script written by Grater/Lord Vexorian which allows a unit not selectable only. They did it for diablo-like summons. |
| 10-27-2004, 09:13 PM | #4 |
Have the owner of the unit as nuetral extra, set the alliances so the player wont attack the unit and the unit wount attack the players unit, sety the units color to the players color, only it wont work if your trying this for more then one player at once, in that case use other avalible player slots or if you cant youll have to think of something else. If you dont need enemy units to auto-aquire it as a target you could just make it nuetral passive. |
| 10-27-2004, 09:21 PM | #5 | |
no that wouldn't work because the unit is created with a hero spell ... i need the unit to be owned by the caster so he gets the proper rewards for kills with this spell... Quote:
@SirSalute can you give me some clues where to search for Grater/Lord Vexorian's spcript? i needed this allready more than once. EDIT: er you said unselectable only and thats the opposite of what i need. Or did you mean uncontrolable only? |
| 10-28-2004, 04:39 PM | #6 |
@SirSalute can you give me some clues where to search for Grater/Lord Vexorian's spcript? i needed this allready more than once. EDIT: er you said unselectable only and thats the opposite of what i need. Or did you mean uncontrolable only?[/quote] http://www.wc3sear.ch/index.php?p=Spells&ID=158&sid= uncontrolable, can be attacked. |
| 10-28-2004, 06:29 PM | #7 |
thanks but this script works completely different than what i want: 1st the unit still moves where you order it to for a very short time that would stop the current order of my unit and i would have to let it move where it shall again ... what i can't do without a variable for the destination point 2nd my unit is not summoned so i think this (get summoned unit) will not work with my unit. 3rd i don't need the unit to guard anything, it shall only get one move order and that's it. 4rth i don't like stuff in my maps that i don't understand. only if it works perfectly how i need it to. that's why i better won't use this script. it's just meant for other stuff than i need. thanks for the information anyway :\ |
| 10-29-2004, 12:01 AM | #8 |
Guest | I don't know if this will work for you, but it's something I considered for my map. Each player's 'character' is not actually theirs, but a neutral passive with the custom value of their player number, and their color. That's easy to do with arrow key movement, but if you want it to be right click move kind of thing, you can just throw a hidden unit somewhere and pick up where the player right clicks through triggers. |
| 10-29-2004, 11:38 AM | #9 |
no i need the unit to owned by the player because the enemys should not only be able to attack him but also should consider him an enemy. ![]() |
