This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getcoreswithvar [2013/12/12 19:58] – Extended Clean0nion | crpl:docs:getcoreswithvar [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== GetCoresWithVar | ===== GetCoresWithVar | ||
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | VariableName | + | | VariableName, Value | List of unit uids, amount of units |'' |
=== Description === | === Description === | ||
- | Searches across all CRPLCore units looking for any that have a script that contains the specified variable with the specified value. | + | Searches across all CRPLCore units looking for any that have a script that contains the specified variable with the specified value. |
+ | |||
+ | Note that a single core can have multiple scripts assigning VariableName to different values, any of which can be used to find the core. | ||
=== Examples === | === Examples === |