nanos world API Reference Unofficial documentation
Event Shared Bleeding edge only

Actor.EnterWater

Triggered when an Actor enters 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("EnterWater", function(self)
    -- il tuo codice
end)

Arguments

Name Type Default Description
self Actor