Good morning, I'm trying to create a Conditional Branch Script, but it gives me an error or it doesn't work.
I want that when the result is equal to a number, it changes the value of a variable control to the one I indicate.
I have done this, but it doesn't work.
if (result == 0)
$gameVariables.value(26) = 0
end
if (result == 1)
$gameVariables.value(26) = 1
end
if (result == 2)
$gameVariables.value(26) = 2
end
or I did this too
I want that when the result is equal to a number, it changes the value of a variable control to the one I indicate.
I have done this, but it doesn't work.
if (result == 0)
$gameVariables.value(26) = 0
end
if (result == 1)
$gameVariables.value(26) = 1
end
if (result == 2)
$gameVariables.value(26) = 2
end
or I did this too