| 03-08-2004, 09:02 PM | #1 |
Because I am making a Diablo game, it would be best if the summoned units couldn't be selected by the player, so he/she can't control them. I do have a system that makes the summoned units walk by themselfs (thanks to Lord Vexorian ^_^ ). Bottom line, I want the summoned units so that they can't be selected or controled, but still be attacked by enemy units. I tried to give the unit the locust ability, but it couldn't be attacked nor selected. Please help. |
| 03-08-2004, 09:09 PM | #2 |
Well, I'd say give it to a dummy computer player, but then it can still be selected. I don't recall how to prevent selection... I believe theres an ability, but if not, you could make it, unit is selected, unit = summoned, kick off the unit. Don't think that'd be to effective [potential lag]. |
| 03-08-2004, 09:09 PM | #3 |
Try this... Event: A unit is selected Condition: Unit type of triggering unit is equals to ---------- Actions: Remove triggering unit from selection |
| 03-08-2004, 09:13 PM | #4 |
hmm, thanks I'll try that. I couldn't find any actions to match my problem :( |
| 03-09-2004, 03:03 AM | #5 |
There's a whole selection catagory. Untitled Trigger 453 Events Player - Player 1 (Red) Selects a unit Conditions (Unit-type of (Triggering unit)) Equal to Footman Actions Selection - Remove (Triggering unit) from selection for Player 1 (Red) Repeat for each player, I guess. |
| 03-09-2004, 03:42 AM | #6 |
ORRRR, couldn't you just use the Locust ability? |
| 03-09-2004, 04:00 AM | #7 |
I was thinking of using the locust ability, but then the summoned units wouldn't die because the enemy units couldn't attack them either =/ |
| 03-09-2004, 04:28 AM | #8 |
I believe there is something that does exactly that in the Trigger and Utilities Deposit. |
| 03-09-2004, 05:12 AM | #9 |
sigh we can just tell him, hide the units then unhide them, if i remember right it resets some flags or booleans and the things cannot be selected but simply attacked :) |
| 03-09-2004, 06:54 AM | #10 |
Yes, someone already made this, it's called DiabloII summons, I think it is in the trigger and utillity reposority. |
| 03-09-2004, 08:51 PM | #11 |
To Kamux: I forgot to mention the name of the system of the first post I sent in for this thread. I tried it my self, and the system is awesome! :) Only problem is that the units can be selected and controlled to move a slght distance, which isn't too much of a problem, but many players will find ways to abuse the glitch :( |
