Actions

Difference between revisions of "End of Level Conditions"

From Shoot Em Up Kit

(Created page with "End of Level Conditions are set in the Level Settings window. link= Select up to 3 sets of conditions which will trigger...")
 
 
Line 7: Line 7:
 
Select up to 3 sets of conditions which will trigger the end of the level. Each condition can be a combination of:  
 
Select up to 3 sets of conditions which will trigger the end of the level. Each condition can be a combination of:  
  
{|
+
{|class="wikitable"
 
|style="width:200px;vertical-align:top;"|'''Level Complete Triggered'''
 
|style="width:200px;vertical-align:top;"|'''Level Complete Triggered'''
 
|Occurs when a [[Add a Trigger|Trigger]] has been hit and the [[Add a Trigger|Trigger]] has its Action property set to ''Level Complete''
 
|Occurs when a [[Add a Trigger|Trigger]] has been hit and the [[Add a Trigger|Trigger]] has its Action property set to ''Level Complete''
Line 22: Line 22:
  
  
{|
+
{|class="wikitable"
 
|style="width:200px;vertical-align:top;"|'''All Enemy Killed Timer'''
 
|style="width:200px;vertical-align:top;"|'''All Enemy Killed Timer'''
 
| The time between the last enemy being killed and the end of level being triggered
 
| The time between the last enemy being killed and the end of level being triggered

Latest revision as of 17:04, 24 May 2020

End of Level Conditions are set in the Level Settings window.


EndLevelConditions.png


Select up to 3 sets of conditions which will trigger the end of the level. Each condition can be a combination of:

Level Complete Triggered Occurs when a Trigger has been hit and the Trigger has its Action property set to Level Complete
Level Complete Timer Occurs when a Timer has reached 0 and the Timer has its Action property set to Level Complete
All Enemy Killed Occurs when all the enemy NPCs have been destroyed or are no longer enabled. NPC Generators are also checked to see if they are due to spawn any more NPCs.


Other settings available are:


All Enemy Killed Timer The time between the last enemy being killed and the end of level being triggered
Kill Chain Reset Time If a player sets up a kill chain, new kills are added as long as they occur within the set time.
Max Respawn Time Respawn player after this time even if the destroyed particle effect is still playing


By default, the first end of level condition is Level Complete Triggered, the second is Level Complete Timer and the third is All Enemy Killed. If any of these 3 conditions is met then the level will finish.


If a condition is set to be Level Complete Triggered and All Enemy Killed then both of these events must occur (kill all the enemy and then go to a trigger) before the level is complete.