Is health just damaged

동일한 action 안에서 wait X second 이후에 apply damage to an object를 한다면
is health just damaged가 인식하지 못합니다.
이것을 모르고 하루동안 게임을 엎다가 겨우 발견했는데,

apply damage to an object 대신 변수를 넣고,
그 변수가 wait 을 뺀 action에서
apply damage to an object 를 발동시키는 것으로 해결했습니다.

There are no complaints about the function itself.

But It says to check if damage is applied in events.
I think this explanation needs to be changed a bit.

I ran a translator, but there were a lot of mistranslations, so I’m just uploading it in Korean.
thanks

1 Like

Hi Hak,

The ‘wait’ function is a special case and it would be better for most events to use a normal timer instead. There is some explanation about it in the Gdevelop documentation.
https://wiki.gdevelop.io/gdevelop5/all-features/timers-and-time/wait-action/

1 Like

okay. There was definitely no problem with the use of the timer. I used the wait X second often because they were convenient, but I need to use them a little more carefully.
thanks