Progetto H — API Reference API & Scripting Documentation
Event Shared Bleeding edge only

Actor.LeaveWater

Triggered when an Actor leaves a water body. Only Actors that simulate physics trigger this event, such as <code>Prop</code>, <code>Vehicle</code>, <code>Pickables</code> and <code>Character</code> only.

Syntax

Lua
Actor.Subscribe("LeaveWater", function(self)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Actor