Please select what you are reporting on:
Creative
What Type of Bug are you experiencing?
Assets
Summary
AgentEntersEvent on VolumeDevice did not subscribe when the creature entered the volume.
Steps to Reproduce
- VolumeDevice placement
- Creature Placer Device placement
- make Verse Device
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Fortnite.com/Characters }
test_volume_device := class(creative_device):
@editable
VolumeDevice : volume_device = volume_device{}
OnBegin<override>()<suspends>:void=
VolumeDevice.AgentEntersEvent.Subscribe(OnDamage)
OnDamage(Agent : agent):void=
if (Fort := Agent.GetFortCharacter[]):
Fort.Damage(10.0)
Print("Damage!!")
else:
Print("No Damage!!")
- Run Game
Expected Result
Damage to creatures and "Damage! logs "Damage!
Observed Result
Not even a log was output.
Platform(s)
Windows 10
Additional Notes
Many bugs are found in Volume-based devices.
