| 03-01-2005, 07:07 PM | #1 |
Heya, I'm looking to be able to remove these buttons (so I can use them for other things). I have browsed the many tools available but haven't found a way. Any help would be appreciated. I only want to remove these- Please do not give me alternatives to it (such as a "Next Page" ability. No thanks. Allready know how to do that, and its not what I'm looking for. I also don't want to make the unit a building.) I have seen this done on certain maps (that I can't name off the top of my head) and would like to implement it in a map I am working on. A few questions if someone helps me remove said abilities.. - Will I be able to do right-click movement? (I don't want this)? - Will I be able to do ordered-trigger movement such as "Order- UnitX to Move to RegionX", or do I have to do instant-unit moves (I want them to be able to be ordered via trigger, but I can live without if I have to) - Will units be able to 'Stop' if I remove the Stop button (I want this)? Even if you can't give me what I want in the above questions, please tell me how to remove them. It'll give me some alternative ideas. |
| 03-01-2005, 07:13 PM | #2 |
Guest | I don't have a direct answer, but I'll try and get you on the right road. Basically, the only thing i have seen which removes these buttons, is a ward. However, wards do not move, and that's the problem. If you change a unit's classification to a ward, then they will not have these buttons, but will not be able to move. You could, however, try adding them as an Undead or another classification which is used for movable units. Well, that's basically my 2 cents on the matter. |
| 03-01-2005, 07:26 PM | #3 |
Thanks. I just tryed that, and got a different result than what you said.. but it appears to be progress. I removed all classifications and then turned on "Ward". Now, the buttons are removed (Woo hoo ^^), however, I can still right click move (Eh?). Because of this, I assume he can be Trigger-Order moved (haven't tested it out yet, though). So my only question now is.. Does anyone know if it's possible to disable right-click moving without making said unit a Building? EDIT: If I can't disable it, that's fine. All I really needed was these buttons gone. In the end, I could always trigger a "Replace unit with X" (x being a copy of the unit, but computer-owned so its orderable, while 'unit' is unmoveable as a building). However, just for ease sakes, It'd be nice if anybody knew :). |
| 03-02-2005, 10:59 AM | #4 |
Guest | Sry i can't help much here but you could probably make them a ward/structure but still give them movement it's worked for me. even in the preschool maps the cookie huts were buildings yet they could move! anyway though i came with a question of my own. You said you knew how to make a 'next page' ability! can you tell me how to do that? i need to know b/c i'm making a starcraft map and i need an extra page for 'advanced structures'. If you could tell me how to do that that'd be great thx. |
| 03-02-2005, 01:09 PM | #5 |
make a trigger that will order the unit to stop each time it tries to move using the "smart" order (Right-Click basicly) and since your triggers use "move" order the unit will move as usual with triggers. |
| 03-02-2005, 03:07 PM | #6 |
You can set the unit's movement speed to 0 and Movement - Type to NONE. From my knowledge this should solve the problem. And yes, I just tested it. No right-click. ~Daelin |
| 03-02-2005, 07:15 PM | #7 | |
Guest | Quote:
Before i read this i was about to suggest the same thing, but also removing the attack. |
| 03-02-2005, 07:21 PM | #8 | |
Quote:
since there are no cmd buttons, the user cant manually use the "move" order so my trigger will work as needed. |
| 03-02-2005, 07:33 PM | #9 |
Oooh... moving through triggers. I didn't really notice it. But keep in mind that player might not use right click, and instead use the move order itself. And you can't prevent the move order just through triggers because if you do, it won't work either if you use triggers to order the unit to move. A solution would be to use an animation and move the unit manually. It can be done very smoothly with JASS. ~Daelin |
| 03-02-2005, 08:44 PM | #10 |
Guest | peewi you cant eat my brain i dont have one |
| 03-02-2005, 08:54 PM | #11 | |
Quote:
-_- yea, true, but he gave the "ward" classafication to the unit so all buttons are hidden, no way to order "move" manually... |
| 03-03-2005, 04:11 AM | #12 |
Oooh... I didn't notice you mentioned that as well. Anyway, good job guys. You sometimes amaze me. ~Daelin |
| 03-03-2005, 09:19 PM | #13 |
Erm.. still having a problem with this. In the origional post, I said I only wanted the move/attack/patrol/stop buttons to be hidden.. Now I am trying to put in abilities whilst Ward is on- I'm going to assume that this is now impossible (by the post I read 2 above me)? When I said I wanted those to be hidden, I meant only those.. not any further abilities I put in. Because I wanted to use those slots for something else >.> If it is impossible to have Abilities on Wards, I can find an indirect way to do it.. with the buildings and all that. I was just hoping I wouldn't have to. I allready know how to do it, I'm just looking for the most compact thing I can. And Daelin, what I'm trying to do is keep that from happening. I don't want manual or right-click movement at all- I want to use trigger movement. The reasoning being, I'm making a turn-based game with a checkerboard LIKE thing (no, I'm not making checkers or chess), and want people to move Up/down/left/right. While I could allow people to manually move, it's just not the way I want to go.. "OMG I MISCLIKED"- "WTFZ NOT DER", etc. So, my plan was to have Up/down/left/right buttons, and to have them click on it.. then make a trigger move 1 slot in said direction. And to the admin who moved my post- Sorry. Didn't know there was a Trigger Haven :). |
| 03-04-2005, 04:17 AM | #14 |
Sorry dude... Only by making building is the only way if you don't set the movement speed like I said to 0 and the attacks to none and leave it as an unit. And forget the right click, nothing happens if someone clicks it. And for the move stuff, can't you do it with triggers? Not by ordering the unit to move, but by moving it forcefully! I mean Unit - Move Unit to Point. Got it now? ~Daelin |
| 03-04-2005, 03:51 PM | #15 |
Yeah, but I want to see them walk :). Moving them forcefully was one of my indirect ways to do it (the other being, duplicating the unit into a unit version and a building version, and exchanging control of it during said units turn.. since its a turn-based thing). But ok.. Thanks a bunch. I know what to do, now, even though its not as easy as I wanted it to be. |
