Type: Hazards
Level: 2 star
Pages: 1
Description: Used when a player or object is on fire. Damages the player for a maximum of 30 health points before stopping. Activate the brain using add brain when you want the effect to start, for example when hit by a fireball.
WHEN [hit by attack][ranged] DO [call page][2]
on page 2
[once] DO[add brain][Damage over time – Burn]
Designed to be used in the weapon brain, Melee Weapon – Burn
Kode
- WHEN [page entered] DO [colorvar: original primary color][equals][primary color]
- …WHEN DO [colorvar:original tertiary color][equals][tertiary color]
- WHEN DO [play fx][fx:Flame aura][at position][position][volume][0]
- WHEN DO [primary color][equals][custom color]
- WHEN DO [tertiary color][equals][custom color]
- WHEN [countdown timer][3.3][loop]
- …WHEN DO [damage][10][without hit reaction]
- …WHEN DO [play fx][fx:fireball impact]
- WHEN [countdown timer][10]
- …WHEN DO [play sound][sound: Fire Metal sizzle]
- …WHEN DO [primary color][equals[colorvar:original primary color]
- …WHEN DO [tertiary color][equals][colorvar:original tertiary color]
- …WHEN DO [remove brain][this brain]
Alterations
Better coloring effect for characters rather than objects
This effect is not very convincing as someone on fire. It turns their hair and clothes a ginger color, and only put the fire effect at their feet, which looks a bit stupid. This is a little better, and works well on characters and objects.
- WHEN [page entered] DO [colorvar: original primary color][equals][primary color]
- …WHEN DO [colorvar:original tertiary color][equals][tertiary color]
- …WHEN DO [colorvar:original secondary color][equals][secondarycolor]
- …WHEN DO [colorvar:original solid color][equals][solid color]
- WHEN DO [play fx][fx:Flame aura] // this puts it all over the character not just his feet]
- WHEN [duration timer][10]
- …WHEN [countdown timer][2][in frames][loop][trigger on start]DO [toggle][boolvar:color]
- …WHEN [boolvar:col] DO[solid color][equals][red]
- …/…WHEN [else] DO [solid color][equals][orange]
- WHEN [countdown timer][3.3][loop]
- …WHEN DO [damage][10][without hit reaction]
- …WHEN DO [play fx][fx:fireball impact]
- WHEN [countdown timer][11]
- …WHEN DO [play sound][sound: Fire Metal sizzle]
- …WHEN DO [primary color][equals[colorvar:original primary color]
- …WHEN DO [tertiary color][equals][colorvar:original tertiary color]
- …WHEN DO [secondary color][equals][colorvar:original secondary color]
- …WHEN DO [solid color][equals][colorvar:original solid color]
- …WHEN DO [boolvar:flammable][equals][true] // if you have selected flammable objects (see below)
- …WHEN DO [remove brain][this brain]