how do i remove an item while i am playing?
Posted: Mon Jan 13, 2020 7:27 pm
such as if the player takes an item from an altar, I would want it to remove a "swamp_sky_1". does anyone know how to do this? thanks in advance.
Official Legend of Grimrock Forums
https://mail.almosthumangames.com/forum/
https://mail.almosthumangames.com/forum/viewtopic.php?t=18538
Code: Select all
swamp_sky_1:destroy()Code: Select all
function destroySky(self)
if findEntity:("swamp_sky_1") then
findEntity:("swamp_sky_1"):destroy()
end
end