This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getscriptvar [2014/01/24 12:53] – Added descriptions and what not. Clean0nion | crpl:docs:getscriptvar [2021/02/05 11:43] (current) – Rmoved discussion tag Karsten75 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
- | ===== | + | ===== |
^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 === |