7 lines
121 B
GDScript
7 lines
121 B
GDScript
extends NpcScript
|
|
|
|
#
|
|
func OnAreaEnter(player : PlayerAgent):
|
|
if player and not player.ownScript:
|
|
own.Interact(player)
|