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

Question about player targeting


jaekx
 Share

Recommended Posts

Im trying to design a system that displays a players information upon targeting them. Where would I write the code If player=targeted then drawCharInfo? Under which sub? Im using the latest version of EA. I have enumerated GUI_CHARINFO and i have a sub DrawCharInfo already implemented. Thanks for any help!
Link to comment
Share on other sites

When the player targets someone a packet is send to the server with the new update the player targeted. When this packet is handled I would thing it would be best to sent a packet to the client with the target's information, and the client can handle by drawing the sub.
Link to comment
Share on other sites

no you can't, player information,other than simple name and sometimes level, isn't visible to other players on the client side. you would have to retrieve the data and send it to the client when the targeting take place, just as

**[Abhi2011](http://www.touchofdeathforums.com/community/index.php?/user/70687-abhi2011/) said.**
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...