Place a dynamic light in your level and assign this script to it's AI Main. Pressing g in the level will give you Invincibility for that level.
(It should work for the entire level. Depending on the size of the level, it may wear off at some point)
;Artificial Intelligence Script
; by xplosys
;Place a dynamic light in you level. Assign this script to it's AI Main
;Press g to activate invincible mode
;You may use or alter this script for any purpose.
;If you start your player at 100 health, change the value in :state=2
;to plrhealthless=100, or whatever you start the player at.
;One started, invincible mode will continue throughout the level.
;Header
desc = Invincible Mode (Always 500 Health)
;Triggers
:state=0:state=1
:state=1,scancodekeypressed=34:sound=audiobank\voices\player\spawn.wav,state=2
:state=2,plrhealthless=500:plraddhealth=1
;End of Script
Happy game making.
The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.