User Tools

Site Tools


4rpl:commands:getscript1var

This is an old revision of the document!


Index

GetScript1Var

GetScript1Var(<-unit <-varName) ->val

Description

Gets the named variable on the specified unit's first script. The value returned will be a direct instance of the var held by the unit. If the unit or var does not exit, a null value (equivalent to 0) is returned.

Examples

GetScript1Var(<-someUnitUID "test") ->val

Index

4rpl/commands/getscript1var.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1