User Tools

Site Tools


prpl:ispaused

<- PRPL reference <- Everything Else 2

IsPaused

ArgumentsResultNotation
Paused? [ - bool ]

Description

Returns whether the game is paused or not. Only relevant for units which use OperateWhilePaused.

Note that CW3 had a rare bug where OperateWhilePaused could be spread to other Cores - this was often used to fix that issue. This bug has not been observed in PF.

Examples

IsPaused if #If the game is paused, perhaps run some display or UI code, but don't (say) move or shoot.
return
endif
prpl/ispaused.txt · Last modified: 2017/06/15 20:31 by GoodMorning