Hi!
I want to use smoothMoveCamera, but i don't really understand how.
function moveCamera()
local deathX, deathY, deathZ = getElementPosition(source)
setCameraMatrix (deathX, deathY, deathZ, deathX, deathY, deathZ+50)
end
addEventHandler ("onPlayerWasted", getRootElement(), moveCamera)
The thing i want to do, it to move from deathZ to deathZ+50 in for example 30 seconds, and i think i can use smoothMoveCamera for this, but i dont know how.
Could you please help me?