User Tools

Site Tools


crpl:docs:getscriptvar

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:getscriptvar [2014/01/24 12:53] – Added descriptions and what not. Clean0nioncrpl:docs:getscriptvar [2021/02/05 11:43] (current) – Rmoved discussion tag Karsten75
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#script_commands|Script Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#script_commands|Script Commands]]
-=====  getScriptVar  =====+=====  GetScriptVar  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
Line 11: Line 11:
  
 List of variables for existing units(for builds 1.66 and newer): List of variables for existing units(for builds 1.66 and newer):
 +
 +Returns a special null value if the script or unit does not exist. This value is the same as zero for most intents and purposes.
  
 Emitter Emitter
Line 77: Line 79:
   RESOURCETYPE   RESOURCETYPE
     The type of resource that the pack carries. Either ENERGY, ORE or AETHER.     The type of resource that the pack carries. Either ENERGY, ORE or AETHER.
 +    
 +Guppy Pad (added in 1.68)
 +  Script: ""
 +  
 +  MODE
 +    The type of cargo that the guppy ferries. Either PACKET, ORE or AC.
        
 +Artifact of Odin (AOO) 
 +  Script: 0 
 +   
 +  TYPE 
 +    The type of AoO. Either FREEZE, MASS or CONVERT.
  
 === Examples === === Examples ===
crpl/docs/getscriptvar.1390586006.txt.gz · Last modified: 2014/10/01 15:02 (external edit)