This is an old revision of the document!
<- PRPL reference <- Everything Else 2
Arguments | Result | Notation |
---|---|---|
Editor? | [ - bool ] |
Return whether the script is running in the editor or not.
IsEditMode if #Don't waste time during play "Debugging code" Trace endif IsEditMode if #Don't allow editing code to be used in-game (for utility scripts) "Mapmaking code" Trace endif IsEditMode not if #Don't sit under the mouse as might happen in-game. Self GetMousePosition SetUnitPixelCoords Trace endif