Progetto H — API Reference API & Scripting Documentation
Event Shared

Character.RagdollModeChange

When Character enters or leaves ragdoll

Syntax

Lua
Character.Subscribe("RagdollModeChange", function(self, old_state, new_state)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Character
old_state boolean
new_state boolean