change runtime var () by ()

From PenguinMod Wiki (Official)
Change runtime var () by ()
Jump to navigation Jump to search

The change runtime var () by () block is a stack block in the TurboWarp Temporary Variables extension that changes the runtime variable with the entered-in name by inputted value. The default value is "variable", like the other blocks relating to variables in this extension (with the exception of for () in ()), while the default value is 1, like with the change [ v] by () variables block, and the change thread var () by ()::#ff791a block.

Workaround

This block can be worked around using the set runtime var () to () block to change the runtime variable:

define change runtime var (name) by (value)
set runtime var (name) to ((runtime var (name)::#ff791a) + (value))::#ff791a


ve TurboWarp Temporary Variables Blocks Navigation
TurboWarp Blocks set thread var () to ()  · change thread var () by ()  · thread var ()  · thread var () exists?  · for () in ()  · active thread variables  · set runtime var () to ()  · change runtime var () by ()  · runtime var ()  · runtime var () exists?  · delete runtime var ()  · delete all runtime variables  · active runtime variables