Tekniko Posted October 14, 2011 Author Share Posted October 14, 2011 Can anyone point me to the block of code that handles the targeting system in EO? I want to be able to just hack/slash on the square my character is facing without having to worry about that "targeting" feature.Thanks in advance as always! Link to comment Share on other sites More sharing options...
crzyone9584 Posted October 14, 2011 Share Posted October 14, 2011 Targeting is only needed for spells/skills. As long as your by the mob/player just hit control and you'd be hack and slashing. Link to comment Share on other sites More sharing options...
Tekniko Posted October 14, 2011 Author Share Posted October 14, 2011 Yea, I should of been more clear. I find it annoying to have to switch to the mouse every time I want to target something. Is there a key already bound to target switching? Link to comment Share on other sites More sharing options...
shadowwulf Posted October 14, 2011 Share Posted October 14, 2011 "switch to the mouse"?I would expect that you would want to conform to the usual WASD movement and mouse for targeting and activation like all other RPGs.But anyways, in the handleattack sub you can check the spots in front of the players by checking the direction they are facing then checking for npcs in those spots going as far as the weapons range value. :) Link to comment Share on other sites More sharing options...
RyokuHasu Posted October 14, 2011 Share Posted October 14, 2011 I'm sure he want something along the lines of Auto target.When you attack something the target automatically switches to the thing you are attacking, Is that along the lines of what you want? =P(hell just thinking about auto target makes me want one too, it's a brilliant Idea!) lol Link to comment Share on other sites More sharing options...
shadowwulf Posted October 14, 2011 Share Posted October 14, 2011 that is even easier…In the attacknpc and attackplayer(ok 1 line repeated) set player target type and target to the correct info. Link to comment Share on other sites More sharing options...
RyokuHasu Posted October 14, 2011 Share Posted October 14, 2011 ~~I got it to work, but I'm having trouble updating the screen to show the target >.<~~never mind, I got the Auto target to work, I'll go post it in the Tutorial sections =D* * *Edit: Ok it's posted, have fun. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now