If you are already used to programming, this should be useful.
Language primitive types are :
Boolean |
Text |
Integer |
Real |
Vec2 |
Vec3 |
Int3 |
Ident |
The other types, known as Classes, are composite types whose name starts with a 'C'. CSmPlayer, CManialinkLabel, etc...
Language constant values are :
Type | Values |
Boolean | True, False |
Text | Everything like "XXX" or """XXX""" |
Integer | Everything like 123789 |
Real | Everything like 123789. or .12312 |
Vec2 | < Real1, Real2 > |
Vec3 | < Real1, Real2, Real3 > |
Int3 | < Integer1, Integer2, Integer3 > |
Ident | NullId |
Class | Null |
You can not create your own Ident or Class values, however many API functions return such values, and you can store them or use them like other Maniascript variables
See more here...
Mathematical operators:
+ | add value |
- | substract value |
* | multiply value |
/ | divide value |
Boolean operators:
! | boolean "not", this will negate the boolean expression |
&& | boolean "and" |
|| | boolean "or" |
Comparison operators:
== | equals |
!= | not equals |
< | less than |
> | greater than |
<= | less or equal than |
>= | greater or equal than |
+= | add value to current |
-= | substract value from current |
*= | multiply current value |
/= | divide current value |