So ive got a global attribute called rapid fire that the player actor responds to accordingly but i need to set up a toggle so that the player can turn it off and on. help would be apreciated i tried making one but it failed horribly.
make your toggle a integer
then a rule when touch is pressed
change attribute "rapid fire" to Mod(rapid fire+1,2)
and it will toggle 0,1
@BBEnk that went way over my head man, if its a toggle wouldnt it make sense to be a boolean?
it want work with a boolean don't ask me why I don't know but it works.
Here is a demo attached - Very simple using a game.attribute (integer).