News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Coding Symbols

Started by Koopa901, June 09, 2016, 11:14:02 PM

Previous topic - Next topic

Koopa901

damage=50+5*var(10), 10

could someone translate this for me....I can read it a little but what does the * mean?
Is there a column or a page that defines symbols like & ! * and ect?

pauseTime=ifElse(var(20), 4, 12), ifElse(var(20), 6, 12)

I know var(10) is for the move var
and var(20) is for custom combo.....but what bout the numbers in the bracket?

Niitris

* symbol is multiply.

It's 5 times var(10) plus 50

Koopa901

thanks......lol now i feel kinda stoooopid.......just a little lol
so basically 100

XGargoyle

no, var(10) could be whatever number


XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!

Niitris

Quote from: Koopa901 on June 09, 2016, 11:14:02 PM
pauseTime=ifElse(var(20), 4, 12), ifElse(var(20), 6, 12)

I know var(10) is for the move var
and var(20) is for custom combo.....but what bout the numbers in the bracket?

IfElse condition.
- If var(20) is not zero (custom combo on), then pausetime is 4
- If var(20) is zero (custom combo off), then pausetime is 12

The second IfElse is guarding pausetime.

Koopa901

I think i got it! thanks