.
The following lists are presented in the same order as the instructions can be found within the Script Editor (except that "Audio" and "General Commands" are swapped in the editor and there's a new category called "Other" at the bottom).
Other
WIP: This is new to X3TC and is still in progress.
The
Other Commands Menu contains instructions for miscellaneous commands. With these commands you can configure Custom Menu's, control AL Plugins
Sub menus
<RetVar/IF> <RefObj> -> get user input: type=<Script Reference Type>, title=<Var/String>
This instruction sends a dialogue box to the user. The script reference types are:
As well as a few more from a list of about 10
<RetVar/IF> open custom info menu: title=<Var/String> description=<Var/String> option array=<Var/Array> maxoptions=<Var/Number>
Sends a custom menu to the player. The return variable, returns the variable of the selected option. The additional maxoptions argument, restricts the number of selectable options in the menu. The purpose of this command is to allow scripters to specify how many lines of the menu are to be dedicated to selectable options, and how many are to be used for the info box.
Additional Notes:
- The return variable does not have to be an integer, and could just as easily be an array or another data type
- If a menu item has a return value of null, 0, or [FALSE], then it is not selectable
- If the number of selectable options is not enough to fill the screen, then this argument has no effect.
<RetVar/IF> open custom menu: title=<Var/String> description=<Var/String> option array=<Var/Array>
Sends a custom menu to the player. The return variable, returns the variable of the selected option.
Additional Notes:
- The return variable does not have to be an integer, and could just as easily be an array or another data type
- If a menu item has a return value of null, 0, or [FALSE], then it is not selectable
<RetVar> = create custom menu array
Declares a menu array.
add custom menu heading to array <Value>: title=<Var/String>
Adds a custom heading into a menu array. A heading will only be displayed if there are selectable options under it and it uses exactly 2 lines of space.
add custom menu item to array <Value>: text=<Var/String> returnvalue=<Value>
Adds a selectable option into a menu array.
Additional Notes:
- The return variable does not have to be an integer, and could just as easily be an array or another data type
- If a menu item has a return value of null, 0, or [FALSE], then it is not selectable
- If the number of selectable options is not enough to fill the screen, then this argument has no effect.
- Menus can not use the [colour][/colour] colour tags. They can however user the \033Y \033X colour tags (for all colours)
- Menus can not use format tags
capture screen
(Guess) Takes a screenshot and puts it in your screenshots folder
Other Commands - NPCs
WIP: This is new to X3TC and is still in progress.
The
Other Commands - NPC Menu contains instructions for miscellaneous commands.
Sub menus
<RetVar> = get random NPC
(Guess) Returns a random NPC
set monitor mode and viewpoint: monitor=<Var/Number> cockpit=<Var/Number> mode=<Var/Number> alpha=<Var/Number> beta=<Var/Number>
(Guess) Sets the monitor (Presumably 0 = Main screen, 1/2 are monitors 1/2) to a cockpit (0 Is the "Front" view or the main cockpit, 1-6 are for the respective turret cockpits), with rotation alpha (yaw) and beta(pitch).