I was making a live player counter and having it detect the amount of players on team 1, right? Then when someone would be knocked out, it would send a notif to everyone saying "A player has been knocked out, [insert player number here] are left. However, when I tested it, it said "A player has been knocked out, NaN players are left. I triple checked everything involving the property that I know of, and it is all sound. Even stranger, the thing was functioning before…
Is the ko manager/property device connected to the notif device with channels or wires?
- Its a lifecycle.
- Connected with wires
try a ko manager, they run smoother
And if it works, you’ll know your property is fine
K.O managers detect the players that are doing the knocking out though right?
they detect “when target knocked out” with the target being an enemy player or sentry
Update: I tried changing the property to a different one, and it worked! So I have come to two conclusions
- Properties Expire Over Time
- (More Likely) Someone placed something down to mess with my system…
NaN generally only appears when you do some math or divide by 0, or input text instead of a number. Can you send your code?
Edit: Oh it’s resolved I’m blind lol
Edit 2: For those wondering, NaN means “Not A Number”
I wasn’t using the direct property, but rather the property-1, since live player counters don’t update immediately.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.