Progetto H — API Reference API & Scripting Documentation
Event Client

CharacterSimple.MovementModeChange

Called when the Character movement mode changes

Syntax

Lua
CharacterSimple.Subscribe("MovementModeChange", function(self, old_mode, new_mode)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self CharacterSimple The CharacterSimple that changed movement mode
old_mode integer Previous movement mode
new_mode integer New movement mode