Is the Tracker Device GetValue() function broken?

I am using a tracker device with events, and have it set to increment every time someone enters a mutator zone. I know the incrementation is working because I can see it incrementing on the HUD.

mutezonetest(Agent:agent):void=
Value : int = savetrackerdevice.GetValue(Agent)
Print(ToString(Value))

I’m using this to get the value and then print it, but it prints 0 every time. Is it broken or am I just doing something wrong?

Is the agent that you are passing in to that function an instance of a Player?

Also, modify your print statement to be Print(“{Value}”), and see if it still reads 0.

1 Like

Tracker Device using Verse Code
see if this video helps.

1 Like

I fixed the problem, my editor was just bugged or something. I deleted all trackers and replaced them and they’re working as intended now

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.