Clientside Scripting Reference
Last updated
Was this helpful?
Last updated
Was this helpful?
In Skyrim Multiplayer there are no dedicated clientside scripts. Code snippets that runs client-side are passed as strings to makeProperty
, updateOwner
and updateNeighbor
which are described in .
Refers to Skyrim Platform API. See page.
In makeProperty
is always undefined
.
In updateOwner
is similar to ctx.sp.Game.getPlayer()
.
In updateNeighbor
refers to neighbor synchronized ObjectReference
or Actor
.
In makeProperty
is always undefined
.
In updateOwner
/ updateNeighbor
is equal to the value of a property that is processed currently or undefined
if there is no value or it's not visible due to flags.
A writable object that is used to store data between updateOwner
/updateNeighbor
calls or makeProperty
initializations.
state
is currently shared between properties.
Get the value of the specified property. Built-in properties are not supported properly, so attempts getting them are leading to the undefined behavior.
Gets serverside formId by clientside formId or 0
if not found.
Opposite to getFormIdInServerFormat
. Gets clientside formId by serverside formId or 0 if not found.
Respawns ctx.refr
immediately.
Available only in makeProperty
context. Sends an event to the server.