Template:ScriptCommandPage
Jump to navigation
Jump to search
The ScriptCommandPage
script command is used to.
Usage
ScriptCommandPage
Context: Ignored
Usage
Template for script command pages
Parameters:
description
(required) - short description of what the command is used forcontext
(optional) - type of entity that is required for this command -any
,item
,npc
,camera
,prop
,self
ornone
special
(optional) - special invocations in the format-f[lags] parameters...
orkeyword parameters...
, one per linedefault
(optional) - set to false to disable the default invocationflags
(optional) - flags accepted by this command in the formatf Description
, one per line.
The space after the flag character can be replaced with?
to exclude the flag from the default invocation or with!
to indicate that one of the marked flags is required for the default invocation. The first flag of each special invocation is always excluded from the default invocation.parameters
(optional) - parameters accepted by this command in the formatname type Description
name
can be prefixed withf?
to make the parameter dependent on flag-f
.
type
can be suffixed with*
to indicate that the parameter will automatically be dereferenced if it looks like a variable and with any additional non-space text starting with a non-alpha character to provide additional type info.obsolete
(optional) - set totrue
to mark the command as obsolete and unimplemented. Nodescription
orcontext
should be provided in this caseintro
(optional) - additional text to insert before the usage section