Verse Library verse

02 Fragment

Enables different particle effects based on a character’s current health level.

verse-library/particle-spawn/02-fragment.verse

# Example structure for your hint
# note: vfx_spawner_device has no runtime scale parameter; use two separate
# vfx_spawner_device instances configured at different scales in the editor.
if (fort_char.GetHealth() > 50.0):
    small_explosion_effect.Enable()
else:
    large_explosion_effect.Enable()

Comments

    Sign in to vote, comment, or suggest an edit. Sign in