-
Posts
8 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by OMGzOMG
-
-
1 hour ago, redsky9 said:
I want a Window that can be resized based on the html sent from the server.
For example sending the string "xWidth=200;xHeight=350" at the top of the htm would tell the client to open the NPC window with said proportions.
Anyone have this implemented?
I send it for u in another topic about extra window... its the same method
-
you can send to all html windows, you just need to change the viewtype, but but the name of npcs window is "NPCDialogWnd".
the function for you to understand how to send to another window:
function HandleLoadHtmlFromString(string param) { local string htmlString; local int tmp; ParseString(param, "HTMLString", htmlString); ParseInt(param, "isExtra", tmp); if(tmp != 1) { m_hHtmlViewer.LoadHtmlFromString(htmlString); ShowNPCDialogWnd(); }else { m_ScriptExtra.HandleShowBoardPacket(param); } }
- 1
-
Set a param inside the html and separe the windows(normal -> extra) in the interface script
-
any have it compiled?
-
3 minutes ago, cherolaine said:
Yes, but not the custom one I didn't find them, just the retails I want to use. That's the point.
Using the Ona Latest BTW.Retails is here:
L2UI_CH3.PARTYWND.party_styleicon
-
any custom utx from interface have it, use l2tool to find it
Window custom height/width
in [Request] Client Dev Help
Posted · Edited by OMGzOMG
to resize everything just use "size_percent_width" in xdat on everything inside the window
https://imgur.com/KJVWOvc.jpg