[DiscordArchive] I am put back into combat because I take damage. Is it normal to have a damage event save till after
[DiscordArchive] I am put back into combat because I take damage. Is it normal to have a damage event save till after
Archived author: syco • Posted: 2023-10-10T14:07:44.416000+00:00
Original source
I am put back into combat because I take damage. Is it normal to have a damage event save till after a player resurrects?
Archived author: syco • Posted: 2023-10-10T14:33:35.958000+00:00
Original source
Lua is just so fast, RegisterEvent is the way to go and has handled everything I need to do.
Archived author: syco • Posted: 2023-10-10T15:30:26.196000+00:00
Original source
Thanks for the help.
Archived author: Foe • Posted: 2023-10-10T15:30:42.114000+00:00
Original source
RegisterEvent > CreateLuaEvent in 99% of cases
Archived author: syco • Posted: 2023-10-10T15:33:06.702000+00:00
Original source
I usually search the discord but didn't know what term to use. Did a quick search for event after seeing the feedback and popped right up. Was actually you Foe that had the statement regarding CreateLuaEvent being global vs RegisterEvent being player.
Archived author: Honey • Posted: 2023-10-10T15:34:20.612000+00:00
Original source
RegisterEvent can be used towards many things.
it's `Worldobject:RegisterEvent`
Archived author: Foe • Posted: 2023-10-10T15:34:34.458000+00:00
Original source
Yeah, you can use it for any world object
Archived author: Foe • Posted: 2023-10-10T15:34:46.725000+00:00
Original source
And it stays within the objects context
Archived author: Honey • Posted: 2023-10-10T15:34:57.986000+00:00
Original source
Let's not mix it up with RegisterPlayerEvent and the like. That's different things.
Archived author: syco • Posted: 2023-10-10T15:35:05.550000+00:00
Original source
Still learning lots and is getting easier.