Skip to content

Small nextbot ragdolls fixes#2299

Merged
thegrb93 merged 7 commits intothegrb93:masterfrom
AstalNeker:master
Mar 18, 2026
Merged

Small nextbot ragdolls fixes#2299
thegrb93 merged 7 commits intothegrb93:masterfrom
AstalNeker:master

Conversation

@AstalNeker
Copy link
Contributor

Implementation of ragdoll cleanup on instance deinitialization (good for server performance, because ragdoll never despawn until admin cleanup manually) and a callback on ragdoll creation of the nextbot (i guess usefull, if you need to cleanup manually your ragdoll, for a minigame or anything)

@AstalNeker
Copy link
Contributor Author

AstalNeker commented Mar 16, 2026

Okey, i did the change, this should be good now

@thegrb93
Copy link
Owner

I tested it with nextbot.create(chip():getPos(), "models/kleiner.mdl"):ragdollOnDeath(false) and the nextbot seems to be unkillable.

@AstalNeker
Copy link
Contributor Author

AstalNeker commented Mar 17, 2026

ye that the issue i ran into, that why i added :Remove() it's was fixing this issue. When a nextbot is supposed to be kill, if you don't ragdoll or remove them it's just don't kill the nextbot

@thegrb93 thegrb93 merged commit 8789111 into thegrb93:master Mar 18, 2026
1 check passed
github-actions bot added a commit that referenced this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants