User Tools

Site Tools


4rpl:commands:getscript1var

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getscript1var [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:getscript1var [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +<WRAP tabs>
 +  * [[4rpl:commands:GetScript1Var|Get]]
 +  * [[4rpl:commands:SetScript1Var|Set]]
 +</WRAP>
  
 ====== GetScript1Var ====== ====== GetScript1Var ======
Line 9: Line 14:
 The value returned will be a direct instance of the var held by the unit. 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. If the unit or var does not exit, a null value (equivalent to 0) is returned.
 +
 +:NOTE: Although input/init variables ($varName:<VARIABLE TYPE>) are technically the unit settings of a custom unit, they are still variables and applicable to this API.
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
4rpl/commands/getscript1var.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)