[DiscordArchive] any suggestions or helpful tips?
[DiscordArchive] any suggestions or helpful tips?
Archived author: manmadedrummer • Posted: 2024-07-27T16:56:29.860000+00:00
Original source
any suggestions or helpful tips?
Archived author: manmadedrummer • Posted: 2024-07-27T16:57:03.430000+00:00
Original source
The script works as intended minus the portal "gameobject" that just stays
Archived author: Foe • Posted: 2024-07-27T16:57:03.501000+00:00
Original source
Store the guid of the gameobject instead of the gameobject object, then fetch the object by the guid whenever you need it
Archived author: Foe • Posted: 2024-07-27T16:57:59.982000+00:00
Original source
storing objects like that is dangerous, if it wasn't for the invalidator Eluna has, that could potentially crash the server
Archived author: manmadedrummer • Posted: 2024-07-27T16:58:45.982000+00:00
Original source
Gotcha. OK I will try doing it the way you suggested and seeing what happens
Archived author: manmadedrummer • Posted: 2024-07-27T17:01:49.378000+00:00
Original source
appreciate the help, im still getting the hang of lua, any other suggestions you might have for that script?
Archived author: Foe • Posted: 2024-07-27T17:04:19.173000+00:00
Original source
OnBossDefeated as an example, you don't have to check if the boss is dead or if the entry is the boss entry. the boss entry is already defined in the hook, and it wouldn't ever trigger if the boss wasn't actually dead
Archived author: Foe • Posted: 2024-07-27T17:05:12.247000+00:00
Original source
also, it'll only ever delete the portal if the player that got the killing blow has the quest, and it'll only award the one player with quest complete
Archived author: manmadedrummer • Posted: 2024-07-27T17:05:51.656000+00:00
Original source
Thats ok, we run a fun server with not alot of population, so It would be them soloing it mostly with bots
Archived author: Foe • Posted: 2024-07-27T17:05:52.709000+00:00
Original source
for things like ie. a party, or a pet, you need to take that into account