OnActivatePulse() -> void:
# This line tells the Pulse Trigger to start sending pulses.
# It's like pressing the "Fire" button on a weapon.
PulseDevice.SetBPM(120) # Set to 120 BPM for fast pulses
PulseDevice.SetDamage(DamageAmount)
# This line actually triggers the first pulse immediately.
PulseDevice.TriggerPulse()
# This is an EVENT. Events are like "Eliminations" or "Win Conditions".
# They happen automatically when something occurs in the game.
SetDamage
methodSetDamage<public>(Damage: float): void
Sets the amount of damage the turret will do per shot to targets to `Damage`.
- Module
- /Fortnite.com/Devices
- Declared in
- automated_turret_device
- Source
- fortnite