Looking for a start on how to get this to work with the data editor:
1. Left mouse button will move the character at selected location.
2. Right mouse click will force the unit to face that direction then cause an attack.
Not looking for a full explanation but just a couple questions:
Is this possible? And if so where in the actor events does it check for left/right mouse clicks?
You will need triggers to order units to use the mouse position and order the unit to the mouse position.
For ordering the unit to another point, while holding the mouse button, you need to start a trigger that contains a loop that orders the unit to the position with a special offset whenever the mouse button was pressed down. This offset should be the difference of the hero to the mouse point and be updated whenever the mouse has been moved.
This is the system's base I created for my map.
At least I only used triggers, variables, orders in my map. If there is another way, feel free to use it.
Looking for a start on how to get this to work with the data editor:
1. Left mouse button will move the character at selected location.
2. Right mouse click will force the unit to face that direction then cause an attack.
Not looking for a full explanation but just a couple questions:
Is this possible? And if so where in the actor events does it check for left/right mouse clicks?
Impossible with data, afaIk.
You will need triggers to order units to use the mouse position and order the unit to the mouse position.
For ordering the unit to another point, while holding the mouse button, you need to start a trigger that contains a loop that orders the unit to the position with a special offset whenever the mouse button was pressed down. This offset should be the difference of the hero to the mouse point and be updated whenever the mouse has been moved.
This is the system's base I created for my map.
At least I only used triggers, variables, orders in my map. If there is another way, feel free to use it.
follow this tutorial for DIABLO 2 Movement and spells casting.
@Ahli634: Go
how did you remove the ability for cursor to highlight?
just follow the short tutorial i posted !... you can even download the map too look at the codes your self. to see how he did it.
@Selfcreation: Go
Thanks for the post.