e.g. timer 10000 parse sprite + explode x*2100 y*2600
Thanks for help!
Scripts
Sprite ask
Sprite ask
1

endround hook and then do a condition check if the mode is 5 (round restart). Then use
timer with
image with the path location of the sprite and coordination and
timer with
explosion with the same coordination like where you place the sprite.
explosion command must be 0 in case you don't want the explosion effect hurting nearby players. duration = 1000
imagePath = "gfx/block.bmp"
x = 320
y = 240
explosionDamage = 0
explosionSize = 24
addhook("startround","_s")
function _s()
	timer(duration, "_explosion")
end
function _explosion()
	image(imagePath, x, y, 0)
	parse("explosion "..x.." "..y.." "..explosionSize.." "..explosionDamage.." 0")
end
GeoB99: I don't get why you use
endround instead of
startround
Masea: My bad, I haven't looked up the CS2D API for long time.
GeoB99: CS2D (Lua) is not an API lol
imagelocal img_id = image(imgpath, 1, 0, 200 + id)
tos12345678: Okay? What. The. Fuck. Did you even try?
all working
1
