Call events on player damaged

Is there any way to create a verse device that removes gold from the player when they receive damage? I understand you would pair an item remover device I just don’t know which/if any of the verse functions would allow me to call events when the player takes any damage.

1 Like

You could use the event

FortCharacter.DamagedEvent.Subscribe(YourFunctionHere)
2 Likes

Coming back on this, this is just for Health damage, you might want to subscribe to ShieldDamaged even too (fort_character.DamagedShieldEvent)

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.