H
HagRaven56
Guest
I completed the easy typewriter dialog tutorial, but when I run code, it gives me an error message for the string_wrap script.
says:
"unnecessary expression function used as a statement"
and this is the code line the tutorial has you place:
function string_wrap(_text, _width)
as well as this in the create event for the object:
"number of arguments expected 0 got 2
and this is the line of code:
text[text_current] = string_wrap(text_current, text_width);
I followed the tutorial but cannot seem to fix it
says:
"unnecessary expression function used as a statement"
and this is the code line the tutorial has you place:
function string_wrap(_text, _width)
as well as this in the create event for the object:
"number of arguments expected 0 got 2
and this is the line of code:
text[text_current] = string_wrap(text_current, text_width);
I followed the tutorial but cannot seem to fix it