Verse Library verse

21 Tracking When Characters Are In The Heal Volume

Initializes NPC medic behavior, handles healing volume triggers, and manages VFX state.

extracted-snippets/documentation/en-us/fortnite/create-your-own-npc-medic-in-unreal-editor-for-fortnite/21-tracking-when-characters-are-in-the-heal-volume.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/create-your-own-npc-medic-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/fortnite/create-your-own-npc-medic-in-unreal-editor-for-fortnite.md
# Section:    Tracking when Characters are in the Heal Volume
OnBegin<override>()<suspends>:void=
Print("Hello, AI!")
VFXSpawner.Disable()
HealVolume.AgentEntersEvent.Subscribe(OnAgentEnters)
HealVolume.AgentExitsEvent.Subscribe(OnAgentExits)

Comments

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