Difference between revisions of "Template:Call"

From Final Fantasy XII Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Signature:
 
Signature:
 
{{#tag:syntaxhighlight|
 
{{#tag:syntaxhighlight|
{{#if:{{{return|}}}|{{{return}}}|void}} {{{name}}}({{#if:{{{args|}}}|{{{args}}}|}}); // id: {{{id}}}{{#ifeq:{{{act|}}}|true|
+
{{#if:{{{return|}}}|{{{return}}}|void}} {{{name}}}({{#if:{{{args|}}}|{{{args}}}|}}); // id: {{{id}}}
 
+
{{#ifeq:{{{act|}}}|true|
 
//or in a context of another script
 
//or in a context of another script
 
{{#if:{{{return|}}}|{{{return}}}|void}} scriptName.{{{name}}}({{#if:{{{args|}}}|{{{args}}}|}}); // id: {{{id}}}|}}|
 
{{#if:{{{return|}}}|{{{return}}}|void}} scriptName.{{{name}}}({{#if:{{{args|}}}|{{{args}}}|}}); // id: {{{id}}}|}}|

Revision as of 08:54, 23 July 2019

Signature:

void {{{name}}}(); // id: {{{id}}}

Standard call target template

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Call IDid 1

no description

Example
0x0001
Unknownrequired
Return typereturn 2

no description

Example
void, int, float
Auto value
Stringsuggested
Call namename 3

no description

Auto value
Stringrequired
Argument listargs 4

no description

Example
float posx, float posy, float posz
Stringsuggested
ACT usageact 5

no description

Example
true, false, empty
Booleansuggested