User Tools

Site Tools


4rpl:commands:define

This is an old revision of the document!


Index

Input Variables

Syntax

$VAR:VAL

Description

Defines an input variable named VAR with a default value of VAL. Input variables will show up in a unit's Script Settings when selected in the editor and though that can be given a value different from the default value assigned by the script itself.

Input variables are created at script start and assigned either the default value, or a value specified in the editor. Input variables must start with a $ sign.

Examples

$amt:1 
$text:"abc"
$e:2.71828
 
SetCreeper(10 10 <-amt) 
4rpl/commands/define.1610660575.txt.gz · Last modified: 2025/02/14 14:56 (external edit)