Quantcast
Channel: Tech Support
Viewing all articles
Browse latest Browse all 2177

Forward Slash After Macro - Error

$
0
0
Hey Guys,
I ran into an issue in GMS2-LTS where the game wont run because I placed a forward slash after a macro I created.
Code:
#macro sec room_speed;
But when I type the following:
Code:
rot = sec / 2;
It shows an error.
My workaround is this:
Code:
rot = (1 / 2) * sec;
Which works as it should.

1707210896268.png

You guys know what the problem is?

Viewing all articles
Browse latest Browse all 2177

Trending Articles