I am looking for a way to reset a capture area device. So far, I have tried using the following methods, but neither of them seems to work, or they don’t do what I expect.
CaptureZone.Neutralize()
CaptureZone.Reset()
Here is how they are being used. Everything Else Works perfectly
ZoneScored(Agent:agent): void=
if(FortCharacter := Agent.GetFortCharacter[]):
for(Element : ActiveZones):
var distance_between:float =
Distance(Element.GetTransform().Translation,FortCharacter.GetTransform().Translation)
Print("Distance: " + ToString(distance_between))
if(distance_between <= distance_check):
Element.Neutralize()
#Element.Reset()
Element.Disable()
set current_active_zones = current_active_zones - 1
if(current_active_zones <= 0):
countdown_timer.Start()