• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

SOLVED makro error

zendraw

Member
so i have defined functions like draw_set_halign to macros and every time i startup the project i get the red ! dot warning with some message that you can see in the screenshot. if i modify the code, like remove ; then add it again, the red dots dissapear, the game also runs normally without a problem, but why does the red dots appear on project startup?

yhgfhyj.png
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
Moderator
Put simply... the syntax checker expects macros to be used like constants, not as function substitutes. So, you can't really use them outside of some statement like you are doing. File a bug about it and see what YYG say...
 
Top