User Tools

Site Tools


prpl:getenergysourcerange

Differences

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

Link to this comparison view

Next revision
Previous revision
prpl:getenergysourcerange [2016/12/02 23:34] – external edit 127.0.0.1prpl:getenergysourcerange [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  GETENERGYSOURCERANGE  =====+=====  GetEnergySourceRange =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+Source Range | [ UID float ] |
  
  
 === Description === === Description ===
 +Gets the range of a specified energy source. If the UID passed is not an energy source, returns 0.
  
 === Examples === === Examples ===
-<code> i1 = GetIntFromStack(); +<code> 
- 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));  +
- +
 </code> </code>
  
prpl/getenergysourcerange.1480721648.txt.gz · Last modified: 2025/02/14 14:56 (external edit)