mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
add new cameras.* functions
This commit is contained in:
parent
636c10d229
commit
ce7037e9d0
2 changed files with 96 additions and 3 deletions
|
|
@ -7,7 +7,10 @@ function setup_variables()
|
|||
console.set('pos.x', x)
|
||||
console.set('pos.y', y)
|
||||
console.set('pos.z', z)
|
||||
console.set('entity.id', player.get_entity(pid):get_uid())
|
||||
local pentity = player.get_entity(pid)
|
||||
if pentity ~= nil then
|
||||
console.set('entity.id', pentity:get_uid())
|
||||
end
|
||||
end
|
||||
|
||||
function on_history_up()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue