Home

Xai Corporation: Research Station Alpha

eXperimental Artificial Inteligence

Primary links

  • Egosoft
  • Argonopedia
  • X3 Interactive Map

Secondary links

  • Home
  • Downloads
  • MSCI-Handbook
  • Resources lists
  • Site Map
Home » msci-handbook » The Script Editor (Manual Ships Computer Interface) » Script Editor Instructions lists » X2 Instruction Lists » General Commands

Arrays

The instructions in this menu allow you to create and manipulate arrays. Arrays are multidimentional variables. In effect you can store multiple values in one variable. When searching for multiple ships or stations the result will be an array.



  • <RetVar> = array alloc: size=<Var/Number>
  • <RetVar/IF> <Var/Array>[<Var/Number>]
  • <Var/Array>[<Var/Number>] = <Value>
  • <RetVar> = size of array <Var/Array>
  • <RetVar> = clone array <Var/Array>: index <Var/Number> ... <Var/Number>
  • copy array <Var/Array> index <Var/Number> ... <Var/Number> into array <Var/Array> at index <Var/Number>
  • insert <Value> into array <Var/Array> at index <Var/Number>
  • append <Value> to array <Var/Array>
  • remove element from array <Var/Array> at index <Var/Number>
  • resize array <Var/Array> to <Var/Number>
‹ Script CallsupAudio Commands ›
»
  • Printer-friendly version

Content Navigation

  • msci-handbook
  • resources lists
  • scripts database
  • weblinks
  • forums
  • xblogs

Add Content

  • more

Latest X3 scripts/mods

  • Target Nearest Unclaimed
  • Add Jumpdrives and Transporter Devices to EQ Docks.
  • Cheat Package
  • Race Invasions
  • Universal Ware Transfer

Latest X3TC scripts/mods

  • Holy Asteroids Mod
  • Salvage Drone
  • Ware Blueprint Manager
  • X3R Docking Computer for X3TC
  • Andromeda

Script Database

Number of scripts and mods in the database: 424

User login

  • Create new account
  • Request new password

Navigation

  • Private messages

Syndicate

Syndicate content

free web site hit counter
ValidateXHTML
Powered by Drupal [Buy Opera!] Valid CSS! Project Honey Pot