Progetto H — API Reference API & Scripting Documentation
Event Shared

Character.Drop

When Character drops the currently picked up Pickable

Syntax

Lua
Character.Subscribe("Drop", function(self, object, triggered_by_player)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Character
object Pickable
triggered_by_player boolean