This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| prpl:getenergysourcerange [2016/12/02 23:34] – external edit 127.0.0.1 | prpl:getenergysourcerange [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| <- [[.: | <- [[.: | ||
| - | ===== | + | ===== |
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | + | | Source |
| === Description === | === Description === | ||
| + | Gets the range of a specified energy source. If the UID passed is not an energy source, returns 0. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | stack.Push(new Data(range)); | + | <-Source GetEnergySourceRange Trace |
| - | } else { | + | #Printed the range to the trace. 40 for a default energy source. |
| - | stack.Push(new Data(0)); | + | |
| - | + | ||
| </ | </ | ||