Will crash.
See the example in opcode search, applies to math opcodes only:
| CODE |
0014: $HJ_TWOWHEELS_TIME /= 1000
|
R* Math opcodes require specified input - variable or value depending on command.
It doesn't apply to any other opcodes.
And also i think coordinates will be float values (floating points).
2 integer is saved differently in CLEO script than
2.0.
2 integer will compute floating point 2.802596929E-45
You must do:
Full code if XYZ coordinates 1 are in 0@, 1@, 2@ and coordinates 2 are in 3@, 4@, 5@:
| CODE |
0087: 6@ = 0@ // (float) 0087: 7@ = 1@ // (float) 0087: 8@ = 2@ // (float) 005A: 6@ += 3@ // (int) 005A: 7@ += 4@ // (int) 005A: 8@ += 5@ // (int) 6@ /= 2.0 7@ /= 2.0 8@ /= 2.0 |