I’m working on a 2v2 game. In the gameplay design there are mutator zones linked to a score manager that award +1 point when a player of the corresponding team enter the Mzone. The problem is that I don’t want one player to just get in-and-out repeatedly and quickly accumulate points. But I want each player to be able to activate the mutator zone only ONCE per round. Is this possibile? Note that I don’t do Verse yet but it seems like I’ll have to put my head on that…
Hi TGH,
You could use a ‘map’ of player → int to keep track of many times a particular player has gone into your mutator zone, and then check it before awarding points.
Documentation for maps is here:
I know I want too much, but can you show the full code? I’ve been trying for 2 hours now, nothing works.
have you tried setting up a trigger with a 20/30s wait that turns off the mutator zone once a player has entered? dont know the verse for it, but could simply set up a relay system that gets paired with the zone that turns it off once player has entered, then back on after X amount of time or even another zone that would reset it type thing. might be easier then going about writing your own code.
I am currently trying to do this but for many mutator zones based on a tag. The problem is that I am unable to use a mutator_zone_device as a key because this device isnt comparable.