Event
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
Actor.Subscribe("LeaveWater", function(self)
-- il tuo codice
end)
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
self
|
Actor | — | — |