Player/NPC Names on Mouse Hover

Hi I would like to do to my character’s name is always displayed

i use

this code

http://www.touchofde…on-mouse-hover/

thanx 😆

So add it in?… I don’t understand what you want.

The point is that this works, but I would like to always display nickname which I play without a mouse rollover

Then just dont add it ??? xD

Or add it just for NPC’s

Or add an Options Button…

I think he wants help removing it.

Simply follow the steps in the tutorial, searching and deleting what has been placed, and replacing what has been deleted.

I think he want to see his character name always visible, but not the others

Ok i fix please close 😆

Adiif explain how you fixed so others can know as well. :)

No problem

change


    ' draw player names

    For i = 1 To Player_HighIndex

	    If IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) Then

		    If CurX = Player(i).x And CurY = Player(i).y Then

			    Call DrawPlayerName(i)

		    End If

	    End If

    Next

to


    ' draw player names

    For i = 1 To Player_HighIndex

    If i = MyIndex Then

	  Call DrawPlayerName(i)

    End If

	    If IsPlaying(i) And GetPlayerMap(i) = GetPlayerMap(MyIndex) And i <> MyIndex Then

		    If CurX = Player(i).x And CurY = Player(i).y Then

			    Call DrawPlayerName(i)

		    End If

	    End If

    Next

eh… i dont see why keeping two of setups for the calling of the drawing of playername

The idea is to always showed your name …

other players need to target

oh o-o makes sense.

Log in to reply