Code: Select all
playSound("karim")
party:shakeCamera(0.3, 4)
spawn("karim_ghost", party.level, party.x+3, party.y, 0)
hudPrint("Lord Karim: 'I'm watching you..'")I've then linked it to a timer which runs a script to make the monster disappear after a few seconds. But I can't figure out what I need to code to make the spawned entity disappear. Just keep getting error messages:
Code: Select all
function removeghost
karim_ghost:destroy()
endGeorge