Hi, I am trying to make a sim game where there is no "Main" character. So basically there are several characters in the map randomly moving and when I click on one of those characters with the mouse then I'll select that character. Once selected I can then make that character move to where I click my mouse. Then I right click to deselect it or I simply click on another character. Is this possible? Additionally, is there a way to bind an event to right click?
Here's what I tried before:
- I set maincharacter to transparent.
- Made my characters as events.
- I used TDD Mouse System to activate a character by clicking on it.
- I changed the party setup so the old transparent character is removed and replaced by the new character that I clicked then deleted that event. However when I do this, then the position of my character is off. I tried to change the position of my character to where the event was standing when I clicked it but I don't know how to get the current x,y coordinates of a moving event once it is activated. Can someone help me? Or is there an easier way to do this?
Thanks!
Here's what I tried before:
- I set maincharacter to transparent.
- Made my characters as events.
- I used TDD Mouse System to activate a character by clicking on it.
- I changed the party setup so the old transparent character is removed and replaced by the new character that I clicked then deleted that event. However when I do this, then the position of my character is off. I tried to change the position of my character to where the event was standing when I clicked it but I don't know how to get the current x,y coordinates of a moving event once it is activated. Can someone help me? Or is there an easier way to do this?
Thanks!