User Tools

Site Tools


prpl:self

Differences

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

Link to this comparison view

Next revision
Previous revision
prpl:self [2016/12/02 23:33] – external edit 127.0.0.1prpl:self [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#scripts|Scripts]]
  
-=====  SELF  =====+=====  Self  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] |+| | UID| [ - UID ] |
  
  
 === Description === === Description ===
 +Returns the UID of the unit that ran this command.
  
 === Examples === === Examples ===
 +<code prpl>
 +# Show this Unit's UID in the debug window
 +Self trace
 +</code>
 <code> stack.Push(new Data(baseUnit.UID));  <code> stack.Push(new Data(baseUnit.UID)); 
    
 </code> </code>
  
prpl/self.1480721634.txt.gz · Last modified: 2025/02/14 14:56 (external edit)