![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2007
Posts: 3
|
Hi everybody,
I am trying to use the command //loadhtml to be able to have several summons of the same NPC with a different dialog for every summon. The syntax I have tried is: //loadhtml text_npc.htm (text_npc.htm is in lowercase and the NPC is previously selected) However, this command seems not to do anything. I suppose the syntax is not correct or maybe the command is not working, I don´t know. Can anyone of you give any clue on this? Any help will be really appreciated. Thanks in advance, Banshee |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
you don't need to select the NPC.
I'm not 100% sure it's loadhtml but I've already used it so it's working. Maybe if the html's weren't cached by the server they won't display. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
Loadhtml is just to show you what teh html is, it wont give an npc that html to us as a hello.
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2007
Posts: 3
|
Ok, thanks for the answers, it seems I was expecting another behavior from loadhtml.
So I will reask my question: "Is there any GM command that allows to change the html associated to an NPC, so I can have several summons of the same NPC associated with different html files?" Thanks a lot again^^ !! |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
There's none that you ask for. Unless you have several ais made for the same npc and use setai or sumn..
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
is there a way to reload htmls without server restarting?
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Apr 2007
Posts: 1
|
I think, there is not. You can turn off HTML caching for a moment and test your new HTML file, but into the cache it will be realoaded only when restarted.
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
Cache updates all the time. I've replaced HTMLs with caching on and the changes made it to the server just fine.
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
You just have to turn off html caching and the changes will be reflected on real time.
|
|
|
|
|