- Joined
- Oct 23, 2019
- Messages
- 13
- Reaction score
- 1
- First Language
- spanish
- Primarily Uses
- RMMV
Hello group, I am sorry if this does not go here.
I am having a problem, I want to represent Conditional branch math operations, but I don't want to use the event command, I need it inside script.
Is this the correct way to write?
If "variable" <0, multiply "variable" * (- 1)
This is what I'm trying to do, but I don't know much about code.
RMMV Script Calls
I use the information here.
Conditional branch/ if (code) {stuff} plus {stuff}
But I don't know how to fill in "code" and "stuff"
Translated with google translator.
I am having a problem, I want to represent Conditional branch math operations, but I don't want to use the event command, I need it inside script.
JavaScript:
if (origen_y < 0) {origen_y * (-1)};
If "variable" <0, multiply "variable" * (- 1)
This is what I'm trying to do, but I don't know much about code.
RMMV Script Calls
I use the information here.
Conditional branch/ if (code) {stuff} plus {stuff}
But I don't know how to fill in "code" and "stuff"
Translated with google translator.





