PropHuntTemplate / Heartbeat
verse-source
# Iterate through all VFX and move them to 0,0,0.
for (HeartBeatVFXDevice : AgentVFX):
HeartBeatVFXDevice.Deactivate()
# Unregister all players from the heart beat audio.
SFXPlayer.UnregisterAll()
# Reinitialize the heartbeat counter to 0
set NumberOfHeartBeats = 0
# The heartbeat_warning_ui class contains a struct of data to track the UI canvas and text_block per player as well as the function to create a new heartbeat warning UI canvas.
heartbeat_warning_ui := class: