It's very much possible. Just set something to print or (more preferably) draw by reading player.exiting, which takes 100 tics (approx 3 sec) to exit the level once you enter an exit sector.I'm curious as if this is possible with Lua.
if player.exiting>0
and player.score>50000
v.draw(292, 4+offset, v.cachePatch("ARANK1"))
end
It's very much possible. Just set something to print or (more preferably) draw by reading player.exiting, which takes 100 tics (approx 3 sec) to exit the level once you enter an exit sector.
For example, you could put this inside of a HUD function (shown theoretically how it'd be done):Code:if player.exiting>0 and player.score>50000 v.draw(292, 4+offset, v.cachePatch("ARANK1")) end
You would do something like this:If you don't mind me asking, how could I create a HUD function?
-- Define the function
local function ranking(v, player)
if player.exiting>0
and player.score>50000
v.draw(160, 100, v.cachePatch("ARANK1"))
end
end
-- Add the above function into the game as a HUD function
hud.add(ranking, player)
It's very much possible. Just set something to print or (more preferably) draw by reading player.exiting, which takes 100 tics (approx 3 sec) to exit the level once you enter an exit sector.