expire_image(3)
expire_image(3) π
okay so bestie, welcome to expire_image(3) from the Arcan Lua API β this is the page for scheduling an image for deletion, and it is genuinely giving βtimer, but make it imageβ energy. π
π NAME π
expire_image β schedule the image for deletion. periodt. β¨
π± SYNOPSIS π±
nil
expire_image( vid, timetolive )
π¦ DESCRIPTION π¦
okay so for some images, you donβt just want to say βdelete thisβ β you want to say when it should be deleted, often in conjunction with how the transformation chain is currently running, and without tracking time in other means. thatβs the whole vibe. π«
this function lets you specify how many ticks the image has left to live. no cap. β³
πΈ NOTES πΈ
- 1 β for
n : 0 <= n < 1,nwill be forced to one tick. the timer to the new value.
β¨ EXAMPLE β¨
hereβs the example, bestie β look at it slay:
function expire_image0()
a = fill_surface(32, 32, 255, 0, 0);
expire_image(a, 100);
end
π MISUSE π
okay now weβre in the donβt-do-this zone, bestie. this is a misuse example β please do not copy it. π
function expire_image0()
expire_image(WORLDID, 10);
end
π MISUSE π
misuse example number two, no cap β not it:
function expire_image1()
a = fill_surface(32, 32, 0, 255, 0);
expire_image(a, -1);
end
π MISUSE π
and misuse example number three β this one is also absolutely not the move:
function expire_image2()
a = fill_surface(32, 32, 0, 0, 255);
expire_image(a, "deadline");
end
π SEE ALSO: π
if youβre still hungry for more, go see:
later, bestie π«Ά β this page is image, dated October 2026, and itβs the expire_image(3) page. byeeeee π
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms