Jump to content
  • 0

Text Above NPC


Jhedzkie

Question


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Can anybody tell me how to achieve the text above the NPC? Similar to the image below.
Not sure if this is client side. I just made the assumption since signboardlist is a similar feature and it's clientside. 

image.png.9a924251d40c9858e7eaceb198e49a62.png
 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

1 minute ago, Jhedzkie said:

Seems to be it, but it disappears after some time. Ideally, what I would like is a permanent one. 
And sorry for posting it on the incorrect forum earlier.
 

No. No need to diplay on chatbox. 

it's showscript, Haruka Mayumi is right

 

You could use npc timer to loop it so it would show permanent

 

OnInit:
	initnpctimer;
	end;

OnTimer1000:
	showscript("Healer");
	setnpctimer 0;
	end;

 

Edited by Elijah23
  • Love 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

*showscript command

  • Upvote 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  90
  • Reputation:   34
  • Joined:  10/01/18
  • Last Seen:  

3 hours ago, Jhedzkie said:

Can anybody tell me how to achieve the text above the NPC? Similar to the image below.
Not sure if this is client side. I just made the assumption since signboardlist is a similar feature and it's clientside. 

image.png.9a924251d40c9858e7eaceb198e49a62.png
 

prontera.gat, 150, 100, 4	script	Healer#1	1_M_ORIENT01,{
	mes "Test";
	close;

OnInit:
	while(1) {
		showscript "Healer", getnpcid(0);
		sleep 1000;
	}
	end;
}

I used this on my High-Rate server however it's colored ?

showscript.thumb.png.88231ff1038c263d491e1b3a575b6735.png

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  292
  • Reputation:   17
  • Joined:  12/12/11
  • Last Seen:  

14 minutes ago, Jhedzkie said:

Can anybody tell me how to achieve the text above the NPC? Similar to the image below.
Not sure if this is client side. I just made the assumption since signboardlist is a similar feature and it's clientside. 

image.png.9a924251d40c9858e7eaceb198e49a62.png
 

looks like npctalk or unittalk?

Does it shows message in the chat box when you're near that npc?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

10 minutes ago, Haruka Mayumi said:

*showscript command

Seems to be it, but it disappears after some time. Ideally, what I would like is a permanent one. 
And sorry for posting it on the incorrect forum earlier.
 

Just now, Elijah23 said:

looks like npctalk or unittalk?

Does it shows message in the chat box when you're near that npc?

No. No need to diplay on chatbox. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  297
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

12 minutes ago, Elijah23 said:

it's showscript, Haruka Mayumi is right

 

You could use npc timer to loop it so it would show permanent

 


OnInit:
	initnpctimer;
	end;

OnTimer1000:
	showscript("Healer");
	setnpctimer 0;
	end;

 

Thanks a bunch. Worked like a charm.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...