Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Evento Server

Prop.Interact

When a Character interacts with this Prop (i.e. try to Grab it)

Non ancora tradotto

Sintassi

Lua
Prop.Subscribe("Interact", function(self, character)
    -- il tuo codice
end)

Argomenti

Nome Tipo Predefinito Descrizione
self Prop the object that undergoes an interaction
character Character the character who interacts with the object

Valore restituito

  • boolean Return false to prevent the interaction (i.e. prevent being grabbed)