jaekx Posted March 17, 2013 Author Share Posted March 17, 2013 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 More sharing options...
abhi2011 Posted March 17, 2013 Share Posted March 17, 2013 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 More sharing options...
jaekx Posted March 17, 2013 Author Share Posted March 17, 2013 So I cant handle it all on the client side? Link to comment Share on other sites More sharing options...
RyokuHasu Posted March 17, 2013 Share Posted March 17, 2013 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 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