![]() |
Problem with //loadhtml
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 |
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. |
Loadhtml is just to show you what teh html is, it wont give an npc that html to us as a hello.
|
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^^ !! |
There's none that you ask for. Unless you have several ais made for the same npc and use setai or sumn..
|
is there a way to reload htmls without server restarting?
|
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.
|
Cache updates all the time. I've replaced HTMLs with caching on and the changes made it to the server just fine.
|
You just have to turn off html caching and the changes will be reflected on real time.
|
| All times are GMT. The time now is 15:58. |