#1 2023-07-07 06:29:14

riddlerecksdee
Участник
Зарегистрирован: 2023-07-07
Сообщений: 2

Problem with MaterialCreate (Solved)

I am using version 3.9 (gm8.1) and when I use MaterialCreate, it says I need one more argument. However in all of the examples and in the russian and english documentation, MaterialCreate uses 2 arguments and not 3 without error. What argument is missing, and how do I fix this?

Редактировался riddlerecksdee (2023-07-10 03:07:07)

Offline

#2 2023-07-07 16:43:10

Gecko
Админ
Из РФ, Казань
Зарегистрирован: 2018-06-02
Сообщений: 163
Сайт

Re: Problem with MaterialCreate (Solved)

It is a bug in the GML binding which was fixed in version 3.9.1. The library actually has only 2 arguments: name and file path. The third can be safely removed from the scripts (init_material and MaterialCreate).

Offline

Подвал доски

Под управлением FluxBB