Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/core-concepts/scripting/events-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ In nanos world it is possible to register for events on specific Entities as wel
-- Spawns a Character
local my_character = Character()

local my_character = Character(Vector(0, 0, 100), Rotator(0, 0, 0), "nanos-world::SK_Male")

my_character:Subscribe("EnterVehicle", function(self, vehicle)
-- my_character entered vehicle
end)
Expand Down
Loading