nanos world API Reference Unofficial documentation
Event Network authority

Character.ViewModeChange

When Character changes its View Mode

Syntax

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

Arguments

Name Type Default Description
self Character
old_state ViewMode
new_state ViewMode