Yes. You can do that with scripting. Here's how.
1. Place a dynamic entity in your level.
2. give the entity a destroy script that will activate the decal defined by the ifused field.
;Artificial Intelligence Script
;Header
desc = Decal Crumble Plus Activate if used
;Triggers
:state=1:activateifused=1,destroy
:state=0:plrsound=$0,rundecal=0,state=1
;End of Script
3. place the name of the decal in the ifused field of the entity to be destroyed. (e.g. smallfire)
4. Place your smallfire decal around the entity to be destroyed.(use the PageDwn key to bring the decal to the floor.)
5. Change the start script of the decal to appear1.(repeatsound.fpi is the default, but keeping that will let you hear the fire before you can see it.)
6. change the main script of the decal to the following script:
(you'll have to name it and save as an .fpi)
;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,activated=1:rundecal=2,loopsound=$0,setalphafade=100,runfpidefault=1
;End of Script
7. Test the level. Once you destroy the entity the small fire will appear.
*HINT:
you can make the small fire harmful by adding the following command to the script.
:plrdistwithin=40:plraddhealth=-1
That's it! Good luck!
-Nue B.