I am building a map with custom weapons and Im trying to build a script that hides the player’s axe VFX whenever they switch to a weapon and reshows the same VFX whenever they swap back to their melee. Im relatively new to verse and have been trying with different stuff but I cannot get the script to work unfortunately and was hoping someone would help:
Hi.
I didn’t check your code completely but was wondering if you need the loop inside the for expression.
The for expression should be looping through the array (CondButton) and be able to do the things inside the loop each time it iterates through. In other words, I think you can get rid of loop and its break. I don’t think that will necessarily solve your problem but it is just something I noticed.