Have you ever got frustrated that a decal can't kill you (in this case the slime decal) and you have to use a trigger zone?
Ever wanted to create a puzzle in where you have to use boxes to get over the slime otherwise it reduces your health if you step on it?
You can't do that with a trigger zone (as you'll always be 'in' it even if you're on boxes).
Well, here's the answer! This script will only reduce a players health if he's actually standing on the slime! Copy it to notepad and save it as "SlimeKiller.fpi" (or whatever you want) and place it in your scriptbank. In the 'Main' of the decal, place this script and you've got killer slime!
;Artificial Intelligence Script
; 0-once face player
; 1-once keep angle
; 2-loop face player
; 3-loop keep angle
; 4-once face up
; 5-loop face up
; 6-character-spot-decal (at end of entity characters gun if available)
;Header
desc = Runs Decal Loop
;Triggers
:state=0:rundecal=5,state=1
:state=1,plrdistwithin=40:plraddhealth=-10
;End of Script
"he is coming!..." - WIP in 'Showcase'