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