![]() "itemTake" - Take an item from a building."targetp" - Shoot a target with velocity prediction."boost" - Start/stop boosting (for certain mechs)."approach" - Approach a position with a radius."stop" - Stop/cancel all actions (moving, mining, building, etc)."idle" - Don't move, continue building/mining.Not all commands are valid for all units. Each command has a set of additional parameters. Radar ally any any health turret1 0 myUnit ubind myUnitĮxample (Find the ally within the range of turret1 that has the lowest health, and bind it) The in-game editor allows you to choose a line number, but using an external editor allows you to set labels and jump to those labels. Jump to a different instruction if the specified condition is met. Processer will return to the first operation and run again. Signifies the end of the current execution run. Pause execution for a specified number of seconds. These commands control the flow of the program. Switches can be turned on or off by clicking on them. If it is off (indicated by the dot in the midddle being grey), it will register as false. The Switch has two states, with the on state (indicated by the dot in the middle being purple) registering as true when sensing whether it is enabled with a Logic Processor. Main articles: Memory Cell, Memory Bank Switches Logic Displays work in much the same way, with the Draw and Draw Flush command. The command Print Flush displays the text to a Message block and clears the hidden variable. In text form, the command Print adds text to a hidden variable in each processor. ![]() Messages and Logic Displays can show the stored text and visual data within a processor. Main articles: Message, Logic Display, Logic Display It is best used when dealing with constantly updating graphics. The Hyper Processor is the most expensive and runs 1500 commands/sec.It is often used to make advanced calculations or to run commands with large numbers of units. The Logic Processor is more expensive.The Micro Processor is cheap and can be used for small-scale operations such as controlling low numbers of units or managing blocks (i.e Turning a Thorium Reactor off when without Cryofluid) due to its low speed of 120 commands/sec.Logic Processors are the brains of logic, the blocks that run the commands. Unix timestamp since January 1st 1970.Returns the instructions per tick of the processor.block: A type of data containing the information of a set block.Unit Control, Unit Radar and Unit Locate functions use this data type to determine which unit to execute on. A value returned with the Unit Bind function.null: A value returned when a command fails to return due to no item matching parameters, such as when the Unit Radar command fails to pick up.They are denoted with quotation marks around them like "router". String: Strings are data types which contain letters, numbers and symbols.Float: Floats are data types which contains decimals.Integer: Referred to shorthand as ints, this type of data is a whole number.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |