Removed initial world query
The world is queried once the client has the player's character.
This commit is contained in:
@@ -21,6 +21,7 @@ mapMaker.edges.south = 16
|
||||
mapMaker.edges.east = 1
|
||||
mapMaker.edges.west = -1
|
||||
|
||||
--TODO: (1) path system
|
||||
--use these macros (mapped to "overworld.bmp" for now) to smooth the region's edges
|
||||
function mapMaker.SmoothEdgesSimple(r)
|
||||
--make and pad an array to use
|
||||
|
||||
@@ -59,7 +59,7 @@ createTrigger("door 1", overworld, 128, -128, function(entity)
|
||||
end
|
||||
|
||||
local x, y = characterAPI.GetOrigin(entity)
|
||||
characterAPI.SetRoomIndex(entity, uidTwo) --TODO: (1) take exit coordinates as a parameter
|
||||
characterAPI.SetRoomIndex(entity, uidTwo) --TODO: (0) take exit coordinates as a parameter
|
||||
characterAPI.SetOrigin(entity, 0, 0)
|
||||
networkAPI.PumpCharacterUpdate(entity)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user