NuiCreate(object, json, string)
From NWN Lexicon
Jump to navigationJump to searchCreate a NUI window inline for the given player.
Parameters
- oPlayer
- The player to create a nui window for
- jNui
- The json description of the nuiwindow
- sWindowId
- a short alphanumeric window id
Description
Create a NUI window inline for the given player.
Remarks
- The token is a integer for ease of handling only. You are not supposed to do anything with it, except store/pass it.
- The window ID needs to be alphanumeric and short. Only one window (per client) with the same ID can exist at a time.
Re-creating a window with the same id of one already open will immediately close the old one.
- See nw_inc_nui.nss for full documentation.
Returns the window token on success (>0), or 0 on error.
Version
This function was added in 1.85.8193.31 of NWN:EE.
Example
See Also
functions: |