Skip to content

Latest commit

 

History

History
1693 lines (1272 loc) · 73.9 KB

GameScript.Support.md

File metadata and controls

1693 lines (1272 loc) · 73.9 KB

GameScript.Support

Индекс

GameScript.Support.AddDescription

GameScript.Support.AddDescription(arg1)

Источник: Lua, строка 3010. Имена argN — placeholders реконструкции.

When the script is selected in the tools the description text will be displayed. It is also visible in non-final game in the C++ debugger

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "When the script is selected in the tools the description text will be displayed.  It is also visible in non-final game in the C++ debugger"
}

GameScript.Support.AddToWorldVectorVariable

GameScript.Support.AddToWorldVectorVariable(arg1, arg2)

Источник: Lua, строка 3013. Имена argN — placeholders реконструкции.

Take a variable containing a vector of world variable 'WorldsToAddVariableName' and add them to the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 WorldVectorScriptName The variable name we will use to refer to this list
2.0 WorldsToAddVariableName The variable containing world we wish to add
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "WorldVectorScriptName",
      "@K[211]": "The variable name we will use to refer to this list"
    },
    "2.0": {
      "@K[209]": "WorldsToAddVariableName",
      "@K[211]": "The variable containing world we wish to add"
    }
  },
  "@K[203]": "Take a variable containing a vector of world variable 'WorldsToAddVariableName' and add them to the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands."
}

GameScript.Support.CreateScriptEvent

GameScript.Support.CreateScriptEvent(arg1, arg2)

Источник: Lua, строка 3016. Имена argN — placeholders реконструкции.

Create an script event variable from the SequenceEvent name which can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to StartScriptEvent(), or RegisterForScriptEvent(). Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 EventVariableName A name that is used to reference the variable in the script component, Usually used for display in forge, but in this case, we hide it because it is just clutter
2.0 SequenceEventName Name of the sequenceEvent in the global sequence component
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "EventVariableName",
      "@K[211]": "A name that is used to reference the variable in the script component, Usually used for display in forge, but in this case, we hide it because it is just clutter"
    },
    "2.0": {
      "@K[209]": "SequenceEventName",
      "@K[211]": "Name of the sequenceEvent in the global sequence component"
    }
  },
  "@K[203]": "Create an script event variable from the SequenceEvent name which can be triggered from script and used for messages on the object that uses the script.  This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to StartScriptEvent(), or RegisterForScriptEvent().   Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.CreateWorldVectorVariable

GameScript.Support.CreateWorldVectorVariable(arg1)

Источник: Lua, строка 3019. Имена argN — placeholders реконструкции.

Create an empty world vector associated with the script component under . This will not be editable in tools, but can be used with the cmmands, AddToWorldVectorVariable and RemoveFromWorldVectorVariable to create new world vector combinations that can then be used with Game.StreamWorld or other commands.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 WorldVectorScriptName The variable name we will use to refer to this list
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "WorldVectorScriptName",
      "@K[211]": "The variable name we will use to refer to this list"
    }
  },
  "@K[203]": "Create an empty world vector associated with the script component under <TemplateScriptName>. This will not be editable in tools, but can be used with the cmmands, AddToWorldVectorVariable and RemoveFromWorldVectorVariable to create new world vector combinations that can then be used with Game.StreamWorld or other commands."
}

GameScript.Support.DoesObjectTemplateMatch

GameScript.Support.DoesObjectTemplateMatch(arg1, arg2)

Источник: Lua, строка 3022. Имена argN — placeholders реконструкции.

Checks to see if the template for the matches the template that is associated with the ".dsObject" file in the script component under .

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 EmpireObject Object for which we are checking
2.0 TemplateScriptName The name in the ScriptComponent object template list that refers to the object template we are searching
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "EmpireObject",
      "@K[211]": "Object for which we are checking"
    },
    "2.0": {
      "@K[209]": "TemplateScriptName",
      "@K[211]": "The name in the ScriptComponent object template list that refers to the object template we are searching"
    }
  },
  "@K[203]": "Checks to see if the template for the <EmpireObject> matches the template that is associated with the \".dsObject\" file in the script component under <TemplateScriptName>."
}

GameScript.Support.ExitScript

GameScript.Support.ExitScript()

Источник: Lua, строка 3025. Имена argN — placeholders реконструкции.

Exit the script for this object so it no longer updates or responds to callbacks

Исходная структура call-tip
{
  "@K[202]": {},
  "@K[203]": "Exit the script for this object so it no longer updates or responds to callbacks"
}

GameScript.Support.ExportFloatVariable

GameScript.Support.ExportFloatVariable(arg1, arg2, arg3)

Источник: Lua, строка 3028. Имена argN — placeholders реконструкции.

Create a variable in the script that will be accessible through the script component of this object and then can then be accessed by other components in this object or from other objects, for example through a WatchVariable. The variable of this name in the script is host authoritative in a networked environment. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be defining in the script
2.0 InitialValue The initial value we will give the variable. This is visible in Forge and Landscape
3.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be defining in the script"
    },
    "2.0": {
      "@K[209]": "InitialValue",
      "@K[211]": "The initial value we will give the variable.  This is visible in Forge and Landscape"
    },
    "3.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script that will be accessible through the script component of this object and then can then be accessed by other components in this object or from other objects, for example through a WatchVariable. The variable of this name in the script is host authoritative in a networked environment.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.GetCurveValue

GameScript.Support.GetCurveValue(arg1, arg2)

Источник: Lua, строка 3031. Имена argN — placeholders реконструкции.

Returns value of the curve, chosen to match the CurveScriptName in the tools, at the position inputValue.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 CurveScriptName The name that the script used to register the curve.
2.0 InputValue Inpboostut value for which point on the curve to look up.
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "CurveScriptName",
      "@K[211]": "The name that the script used to register the curve."
    },
    "2.0": {
      "@K[209]": "InputValue",
      "@K[211]": "Inpboostut value for which point on the curve to look up."
    }
  },
  "@K[203]": "Returns value of the curve, chosen to match the CurveScriptName in the tools, at the position inputValue."
}

GameScript.Support.GetGameTime

GameScript.Support.GetGameTime()

Источник: Lua, строка 3034. Имена argN — placeholders реконструкции.

Return the current game time in seconds.

Исходная структура call-tip
{
  "@K[202]": {},
  "@K[203]": "Return the current game time in seconds."
}

GameScript.Support.GetGameTimeDelta

GameScript.Support.GetGameTimeDelta()

Источник: Lua, строка 3037. Имена argN — placeholders реконструкции.

Return the current game time delta in seconds.

Исходная структура call-tip
{
  "@K[202]": {},
  "@K[203]": "Return the current game time delta in seconds."
}

GameScript.Support.GetImportObjectTable

GameScript.Support.GetImportObjectTable(arg1)

Источник: Lua, строка 3040. Имена argN — placeholders реконструкции.

Returns all objects specified by the Import Object Handle Variable of the given name. The list always returns a table, even if it only returns one object. If the Import Object Handle Variable is returning "Objects in My Set" or "Objects in a Set", then it will not return the specified object, but rather the objects inside its Set Component if it has one.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable whose value we are getting
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable whose value we are getting"
    }
  },
  "@K[203]": "Returns all objects specified by the Import Object Handle Variable of the given name. The list always returns a table, even if it only returns one object. If the Import Object Handle Variable is returning \"Objects in My Set\" or \"Objects in a Set\", then it will not return the specified object, but rather the objects inside its Set Component if it has one."
}

GameScript.Support.GetImportWatchVariableValue

GameScript.Support.GetImportWatchVariableValue(arg1)

Источник: Lua, строка 3043. Имена argN — placeholders реконструкции.

Returns the value of the watch variable of the given name. Returns 0 if the variable is unbound or does not exist.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the watch variable whose value we are getting
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the watch variable whose value we are getting"
    }
  },
  "@K[203]": "Returns the value of the watch variable of the given name. Returns 0 if the variable is unbound or does not exist."
}

GameScript.Support.GetObjectVariableFromComponent

GameScript.Support.GetObjectVariableFromComponent(arg1, arg2, arg3)

Источник: Lua, строка 3046. Имена argN — placeholders реконструкции.

Returns value of the variable contained in the component named "ComponentName" in "EmpireObject".

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 EmpireObject The empireObject for which we are requesting a variable
2.0 ObjectVariableName The name of the variable in the "EmpireObject".
3.0 ComponentName The name of the component in the "EmpireObject".
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "EmpireObject",
      "@K[211]": "The empireObject for which we are requesting a variable"
    },
    "2.0": {
      "@K[209]": "ObjectVariableName",
      "@K[211]": "The name of the variable in the \"EmpireObject\"."
    },
    "3.0": {
      "@K[209]": "ComponentName",
      "@K[211]": "The name of the component in the \"EmpireObject\"."
    }
  },
  "@K[203]": "Returns value of the variable contained in the component named \"ComponentName\" in \"EmpireObject\"."
}

GameScript.Support.GetPlatform

GameScript.Support.GetPlatform()

Источник: Lua, строка 3049. Имена argN — placeholders реконструкции.

Return an enum for the platform. GameScript.Platform.XBox360,PS3,Win32

Исходная структура call-tip
{
  "@K[202]": {},
  "@K[203]": "Return an enum for the platform.  GameScript.Platform.XBox360,PS3,Win32"
}

GameScript.Support.GetRandomFactor

GameScript.Support.GetRandomFactor()

Источник: Lua, строка 3052. Имена argN — placeholders реконструкции.

Return a random number from 0.0 to 1.0(range includes both 0 and 1)

Исходная структура call-tip
{
  "@K[202]": {},
  "@K[203]": "Return a random number from 0.0 to 1.0(range includes both 0 and 1)"
}

GameScript.Support.GetRandomInteger

GameScript.Support.GetRandomInteger(arg1, arg2)

Источник: Lua, строка 3055. Имена argN — placeholders реконструкции.

Return a random integer from minValue to maxValue(range includes both min and max)

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 MinValue Lowest possible return
2.0 MaxValue Highest possible return
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "MinValue",
      "@K[211]": "Lowest possible return"
    },
    "2.0": {
      "@K[209]": "MaxValue",
      "@K[211]": "Highest possible return"
    }
  },
  "@K[203]": "Return a random integer from minValue to maxValue(range includes both min and max)"
}

GameScript.Support.GetScriptExportVariable

GameScript.Support.GetScriptExportVariable(arg1, arg2)

Источник: Lua, строка 3058. Имена argN — placeholders реконструкции.

Return the value from the "EmpireObject" of variable exported from the script with the name "ScriptVariableName".

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 EmpireObject The empireObject for which we are examining for a variable
2.0 ScriptVariableName The name of the variable in the "EmpireObject".
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "EmpireObject",
      "@K[211]": "The empireObject for which we are examining for a variable"
    },
    "2.0": {
      "@K[209]": "ScriptVariableName",
      "@K[211]": "The name of the variable in the \"EmpireObject\"."
    }
  },
  "@K[203]": "Return the value from the \"EmpireObject\" of variable exported from the script with the name \"ScriptVariableName\"."
}

GameScript.Support.GetStreamingWorldNames

GameScript.Support.GetStreamingWorldNames(arg1, arg2)

Источник: Lua, строка 3061. Имена argN — placeholders реконструкции.

Returns the current desired and required worlds.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 desiredWorldsScriptName The variable name for the desired worlds to be stored in.
2.0 requiredWorldsScriptName The variable name for the required worlds to be stored in.
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "desiredWorldsScriptName",
      "@K[211]": "The variable name for the desired worlds to be stored in."
    },
    "2.0": {
      "@K[209]": "requiredWorldsScriptName",
      "@K[211]": "The variable name for the required worlds to be stored in."
    }
  },
  "@K[203]": "Returns the current desired and required worlds."
}

GameScript.Support.HasScriptExportVariable

GameScript.Support.HasScriptExportVariable(arg1, arg2)

Источник: Lua, строка 3064. Имена argN — placeholders реконструкции.

Determines if the "EmpireObject" has export a variable from the script with the name "ScriptVariableName".

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 EmpireObject The empireObject for which we are examining for a variable
2.0 ScriptVariableName The name of the variable in the "EmpireObject".
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "EmpireObject",
      "@K[211]": "The empireObject for which we are examining for a variable"
    },
    "2.0": {
      "@K[209]": "ScriptVariableName",
      "@K[211]": "The name of the variable in the \"EmpireObject\"."
    }
  },
  "@K[203]": "Determines if the \"EmpireObject\" has export a variable from the script with the name \"ScriptVariableName\"."
}

GameScript.Support.ImportBoolVariable

GameScript.Support.ImportBoolVariable(arg1, arg2)

Источник: Lua, строка 3067. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools, by a check box, will then be passed into the script   Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportBoolVariableWithDefault

GameScript.Support.ImportBoolVariableWithDefault(arg1, arg2, arg3)

Источник: Lua, строка 3070. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools, by a check box, will then be passed into the script Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
3.0 DefaultValue The default value of the variable when it is created
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    },
    "3.0": {
      "@K[209]": "DefaultValue",
      "@K[211]": "The default value of the variable when it is created"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools, by a check box, will then be passed into the script   Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportColorVariable

GameScript.Support.ImportColorVariable(arg1, arg2)

Источник: Lua, строка 3073. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportEnumVariable

GameScript.Support.ImportEnumVariable(arg1, arg2, arg3)

Источник: Lua, строка 3076. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value will be selected with a combo box and return by this function. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 TableName The name of the table
2.0 VariableName The name of the variable we will be accessing from the script
3.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "TableName",
      "@K[211]": "The name of the table "
    },
    "2.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "3.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value will be selected with a combo box and return by this function.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportFloatVariable

GameScript.Support.ImportFloatVariable(arg1, arg2)

Источник: Lua, строка 3079. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportFloatVariableWithDefault

GameScript.Support.ImportFloatVariableWithDefault(arg1, arg2, arg3)

Источник: Lua, строка 3082. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
3.0 DefaultValue The default value of the variable when it is created
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    },
    "3.0": {
      "@K[209]": "DefaultValue",
      "@K[211]": "The default value of the variable when it is created"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportObjectHandleVariable

GameScript.Support.ImportObjectHandleVariable(arg1, arg2)

Источник: Lua, строка 3085. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Returns true if exists in game and if created in the tools Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Returns true if exists in game and if created in the tools  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportObjectList

GameScript.Support.ImportObjectList(arg1, arg2)

Источник: Lua, строка 3088. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Landscape. This variable will allow you to set up a list of objects. The size of the list, and the objects in that list are set in Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Landscape.  This variable will allow you to set up a list of objects.  The size of the list, and the objects in that list are set in Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportRegionObject

GameScript.Support.ImportRegionObject(arg1, arg2)

Источник: Lua, строка 3091. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape to an object with a region component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to an object with a region component.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportScriptEvent

GameScript.Support.ImportScriptEvent(arg1, arg2)

Источник: Lua, строка 3094. Имена argN — placeholders реконструкции.

Create an event that can be triggered from script and used for messages on the object that uses the script. This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to SendEventMessage(), or RegisterForScriptEvent(). The description is only used for the tools UI Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 EventName A name to look up the id associated with the ecen
2.0 EventDescription A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "EventName",
      "@K[211]": "A name to look up the id associated with the ecen"
    },
    "2.0": {
      "@K[209]": "EventDescription",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create an event that can be triggered from script and used for messages on the object that uses the script.  This event and message will automatically be properly handled by the network.This function will return an id number which will be used when you want to SendEventMessage(), or RegisterForScriptEvent().  The description is only used for the tools UI  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportSetObject

GameScript.Support.ImportSetObject(arg1, arg2)

Источник: Lua, строка 3097. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape to an object with a set component. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to an object with a set component.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportSingleObject

GameScript.Support.ImportSingleObject(arg1, arg2)

Источник: Lua, строка 3100. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape to a single object. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape to a single object.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportStaticTextVariable

GameScript.Support.ImportStaticTextVariable(arg1, arg2)

Источник: Lua, строка 3103. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportStaticTextVariableWithDefault

GameScript.Support.ImportStaticTextVariableWithDefault(arg1, arg2, arg3)

Источник: Lua, строка 3106. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
3.0 DefaultValue The default value of the variable
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    },
    "3.0": {
      "@K[209]": "DefaultValue",
      "@K[211]": "The default value of the variable"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools will then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportStringVariable

GameScript.Support.ImportStringVariable(arg1, arg2)

Источник: Lua, строка 3109. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportStringVariableWithDefault

GameScript.Support.ImportStringVariableWithDefault(arg1, arg2, arg3)

Источник: Lua, строка 3112. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
3.0 DefaultValue The default value of the variable
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    },
    "3.0": {
      "@K[209]": "DefaultValue",
      "@K[211]": "The default value of the variable"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportVectorVariable

GameScript.Support.ImportVectorVariable(arg1, arg2)

Источник: Lua, строка 3115. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.ImportWatchVariable

GameScript.Support.ImportWatchVariable(arg1, arg2)

Источник: Lua, строка 3118. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools when then be passed into the script as a variable of the same name, when that script is first run in the game.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.IsSplitScreen

GameScript.Support.IsSplitScreen()

Источник: Lua, строка 3121. Имена argN — placeholders реконструкции.

Return a bool indicating whether or not the game is running in split screen

Исходная структура call-tip
{
  "@K[202]": {},
  "@K[203]": "Return a bool indicating whether or not the game is running in split screen"
}

GameScript.Support.RegisterAnimationGraphResourceVariable

GameScript.Support.RegisterAnimationGraphResourceVariable(arg1, arg2)

Источник: Lua, строка 3124. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an animation resource. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as SetAnimationGraphResource. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an animation resource. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as SetAnimationGraphResource. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RegisterComponentHandle

GameScript.Support.RegisterComponentHandle(arg1, arg2)

Источник: Lua, строка 3127. Имена argN — placeholders реконструкции.

Eventually will create a variable that can be set to select a component in Forge. Current does nothing in the tools, but in game gets the handle to a component for your current object that can be used in other calls. This was set up specifically for IEnergyComponent and if useful, may be generalized.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 ComponentName The name of the component for which we want a handle
2.0 @K[203] A description that eventually will be visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "ComponentName",
      "@K[211]": "The name of the component for which we want a handle"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that eventually will be visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Eventually will create a variable that can be set to select a component in Forge. Current does nothing in the tools, but in game gets the handle to a component for your current object that can be used in other calls.  This was set up specifically for IEnergyComponent and if useful, may be generalized."
}

GameScript.Support.RegisterCurveTemplateVariable

GameScript.Support.RegisterCurveTemplateVariable(arg1, arg2)

Источник: Lua, строка 3130. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a curve template(i.e. *.dsCurve). When this runs in the game it returns true if the variable has a curve template. There are other commands that will take this variable name and look up the curve template for commands such as SetEnvironmentLight. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools is a curve template(i.e. *.dsCurve). When this runs in the game it returns true if the variable has a curve template. There are other commands that will take this variable name and look up the curve template for commands such as SetEnvironmentLight.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RegisterMenuVariable

GameScript.Support.RegisterMenuVariable(arg1, arg2)

Источник: Lua, строка 3133. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a menu(i.e. *.dsMenu). When this runs in the game it returns true if the variable has a menu. There are other commands that will take this variable name and look up the menu for commands such as ShowMovie and ShowFullscreenMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools is a menu(i.e. *.dsMenu). When this runs in the game it returns true if the variable has a menu. There are other commands that will take this variable name and look up the menu for commands such as ShowMovie and ShowFullscreenMovie.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RegisterMovieVariable

GameScript.Support.RegisterMovieVariable(arg1, arg2)

Источник: Lua, строка 3136. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is movie. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as ShowMovie. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools is movie. When this runs in the game it returns true if the variable has a movie. There are other commands that will take this variable name and look up the movie resource for commands such as ShowMovie.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RegisterObjectTemplateVariable

GameScript.Support.RegisterObjectTemplateVariable(arg1, arg2)

Источник: Lua, строка 3139. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is an objectTemplate(i.e. *.dsObject). When this runs in the game it returns true if the variable has an object template. There are other commands that will take this variable name and look up the object template for commands such as SpawnObject. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools is an objectTemplate(i.e. *.dsObject). When this runs in the game it returns true if the variable has an object template. There are other commands that will take this variable name and look up the object template for commands such as SpawnObject.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RegisterTextureVariable

GameScript.Support.RegisterTextureVariable(arg1, arg2)

Источник: Lua, строка 3142. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a texture(i.e. *.tif). When this runs in the game it returns true if the variable has a texture. There are other commands that will take this variable name and look up the texture for commands such as SetAmbientCubeMap. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools is a texture(i.e. *.tif). When this runs in the game it returns true if the variable has a texture. There are other commands that will take this variable name and look up the texture for commands such as SetAmbientCubeMap.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RegisterWorldVectorVariable

GameScript.Support.RegisterWorldVectorVariable(arg1, arg2)

Источник: Lua, строка 3145. Имена argN — placeholders реконструкции.

Create a variable in the script component that can be set in Forge or Landscape. The value set in the tools is a vector of worlds (i.e. *.dsWorld). When this runs in the game it returns true if the variable has a vector. There are other commands that will take this variable name and look up the world vector for commands such as StreamWorlds. Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 VariableName The name of the variable we will be accessing from the script
2.0 @K[203] A description that is visible in Forge and Landscape, ignored in game
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "VariableName",
      "@K[211]": "The name of the variable we will be accessing from the script"
    },
    "2.0": {
      "@K[209]": "@K[203]",
      "@K[211]": "A description that is visible in Forge and Landscape, ignored in game"
    }
  },
  "@K[203]": "Create a variable in the script component that can be set in Forge or Landscape.  The value set in the tools is a vector of worlds (i.e. *.dsWorld). When this runs in the game it returns true if the variable has a vector. There are other commands that will take this variable name and look up the world vector for commands such as StreamWorlds.  Note this command must be declared in the initial 'External Declaration' section of the script that is before any other script commands or it will be ignored."
}

GameScript.Support.RemoveFromWorldVectorVariable

GameScript.Support.RemoveFromWorldVectorVariable(arg1, arg2)

Источник: Lua, строка 3148. Имена argN — placeholders реконструкции.

Take a variable containing a vector of world variable 'WorldsToRemoveVariableName' and remove every occurence of those worlds from the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands.

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 WorldVectorScriptName The variable name we will use to refer to this list
2.0 WorldsToRemoveVariableName The variable containing world we wish to remove
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "WorldVectorScriptName",
      "@K[211]": "The variable name we will use to refer to this list"
    },
    "2.0": {
      "@K[209]": "WorldsToRemoveVariableName",
      "@K[211]": "The variable containing world we wish to remove"
    }
  },
  "@K[203]": "Take a variable containing a vector of world variable 'WorldsToRemoveVariableName' and remove every occurence of those worlds from the world list held in 'WorldVectorScriptName', it can then be used in Game.StreamWorld or other commands."
}

GameScript.Support.TurnOnScriptUpdate

GameScript.Support.TurnOnScriptUpdate(arg1)

Источник: Lua, строка 3151. Имена argN — placeholders реконструкции.

Enable or disable update of the script in this object

Поля параметров call-tip (интерпретация структуры, не восстановленные типы):

№ Имя (@K[209]) Описание (@K[211])
1.0 bUpdate Enable(true) or disable(false)
Исходная структура call-tip
{
  "@K[202]": {
    "1.0": {
      "@K[209]": "bUpdate",
      "@K[211]": "Enable(true) or disable(false)"
    }
  },
  "@K[203]": "Enable or disable update of the script in this object"
}