1.) How do I make a unit not select another unit. For example, I have one hero throughout the entire game.. and left click in this game moves the hero to that point. But If I left click on a unit, it selects that unit, and I don't want that to happen, I always want my hero to be selected.
2.) How do I make it for whenever I right click, it doesn't move me anywhere. but if I right click on a unit it attacks that unit, even if I have to move to him, but I only want to remove it to where I right click on no unit, and it moves me there.
Or in a less active fashion, using less digital resource:
Use the data editor to make all of the units in your game, bar the hero, unselectable.
Edit the unit actor for the hero, and under the event that ends the selection, make him selected.
Without using more actions, you can no longer select any other units, or deselect the hero.
If you make a copy of the attack command in data editor, I'm fairly sure (without confirming however) that you can mess around so that it no longer represents the 'attack move' function when on a point rather than a unit, and then set attack as the event, rather than move, on right click.
That one will be a bit more complex, alternatively use triggers, but there will be more mess that way.
Okay, I have some questions...
1.) How do I make a unit not select another unit. For example, I have one hero throughout the entire game.. and left click in this game moves the hero to that point. But If I left click on a unit, it selects that unit, and I don't want that to happen, I always want my hero to be selected.
2.) How do I make it for whenever I right click, it doesn't move me anywhere. but if I right click on a unit it attacks that unit, even if I have to move to him, but I only want to remove it to where I right click on no unit, and it moves me there.
THANKS IN ADVANCE. :)
@Raeymunn: Go
its funny because i need help with this aswell lol
Someone help us both? :P
Event - "If Player 1 selets a unit"
Actions - Select "random unit owned by player of type hero" for triggering player
Or in a less active fashion, using less digital resource:
Use the data editor to make all of the units in your game, bar the hero, unselectable. Edit the unit actor for the hero, and under the event that ends the selection, make him selected.
Without using more actions, you can no longer select any other units, or deselect the hero.
If you make a copy of the attack command in data editor, I'm fairly sure (without confirming however) that you can mess around so that it no longer represents the 'attack move' function when on a point rather than a unit, and then set attack as the event, rather than move, on right click.
That one will be a bit more complex, alternatively use triggers, but there will be more mess that way.