This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getcoreswithvar [2013/01/14 19:47] – virgilw | crpl:docs:getcoreswithvar [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <- [[crpl: | ||
===== GetCoresWithVar | ===== GetCoresWithVar | ||
^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
- | | ScriptName and Value | List of unit uids |'' | + | | VariableName, |
=== 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 === | ||
Line 20: | Line 23: | ||
</ | </ | ||
- |