Skip to content

Placeholders

LeonaMorro edited this page Oct 3, 2017 · 2 revisions

Inside a notecard you can use placeholders which are filled while the notecard gets parsed and executed. Placeholders are uppercase keywords surrounded by %

Examples:

MENUPROMPT|Hello %DISPLAYNAME%.

PRIMEDIT|REL_POS_LOCAL~mainObject~%SCALEREF%~%SCALECUR%~<0,0,1>

placeholder required nPose Version description
%AVKEY% 0.xx - ∞ the current menu users uuid
%AVSEAT% 3.10 - ∞ the current menu users seat number
%CARDNAME% 2.00? - ∞ the current notecard name
%DISPLAYNAME% 3.00 - ∞ the current menu users displayname
%PAGE% 3.00 - ∞ the current menu page
%PATH% 3.00 - ∞ the current menu path
%POSITION% 3.10 - ∞ the position (vector) of the prim where the nPose Core script is placed. Mainly to be used with the Prim Params Editor
%ROTATION% 3.10 - ∞ the rotation (rotation) of the prim where the nPose Core script is placed. Mainly to be used with the Prim Params Editor
%SCALECUR% 3.00 - ∞ the dimensions (vector) of the prim where the nPose Core script is placed. Mainly to be used with the Prim Params Editor
%SCALEREF% 3.00 - ∞ reference dimensions (vector) that can be set via the OPTION command. Mainly to be used with the Prim Params Editor
%USERNAME% 3.00 - ∞ the current menu users username

Clone this wiki locally