Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

im confuse with the variables part, can you help me? what do i need to do with variables?

TypeError

Cannot read property 'createParameters' of undefined

im receiving this error

Hi there!

The variable's value will determine the event ID that will play when opening/closing the message window.


If the chosen variable on the "Open Common Event Id" has a value of 3. Then, when the message window is opening, the common event that will play is the one with ID 3.

The same applies to the Close Common Event Id.

The error is throwing because you need to have the Eli Book(my core plugin) installed on your plugin manager(and above all my plugins).

(2 edits)

Right, I installed Eli_Book, and the error stopped, I created the variables ID 28 and 29 (open, close) and the common events ID 28 and 29, I created a test switch in a map, when I activate it and test, nothing happens , my understanding is compromised due to my main language not being English, maybe I'm interpreting the explanation wrong, I also don't know where to put values in the variable       

Opa! Então vamos falar em português! :D

Eu acho que você entendeu que os IDS das variáveis devem ser igual ao ID dos eventos comuns. E não é esse o caso.

O que vai determinar qual evento comum vai tocar, é o valor dessas variáveis.

Então por exemplo, você escolheu as variáveis de ID 28 e 29. Se você quiser executar o evento comum de ID 5 quando abrir a caixa de mensagens, você deve atribuir o valor 5 a sua variável 28.


No exemplo acima, eu escolhi a variável de ID 37 para quando a mensagem abrir. E a variável de ID 38, para quando a mensagem fechar.

A variável 37, eu atribuí o valor de 8. Significa, que o evento comum a ser executado, quando a mensagem abrir, será o de ID 8. A mesma lógica para a outra variável.

E depois eu ativei a switch, para "fazer o plugin funcionar".

Consegui explicar bem agora? xD

Olá, eu consegui graças a você, muito obrigado, esse plugin é ótimo!

Beleza! Se divirta :)