prpl:setfailonhqloss

Differences

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

Link to this comparison view

Next revision
Previous revision
prpl:setfailonhqloss [2016/12/02 23:33] – external edit 127.0.0.1prpl:setfailonhqloss [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]]
  
-=====  SETFAILONHQLOSS  =====+=====  SetFailOnHQLoss =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [ - ] | +FailMission | | [ bool - ] |
  
 === Description === === Description ===
 +Set whether the mission is failed when a HQ is destroyed. Note that this can be any ship with the large blue HQ module, even an enemy ship.
  
 === Examples === === Examples ===
-<code> GameSpace.instance.failOnHQLoss = GetIntFromStack() != 0 +<code> 
- +#Allow the HQ to be lost two minutes after the start of the map: 
 +GetGameTimeFrames 3600 eq if 
 + SetFailOnHQLoss 
 +endif
 </code> </code>
  
prpl/setfailonhqloss.1480721636.txt.gz · Last modified: 2025/02/14 14:56 (external edit)