Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Targeting System


Tekniko
 Share

Recommended Posts

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

"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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...