Had a few goes to script this, no dice. Any help appreciated,
Cheers.
How to check a Monster is dead?
-
- Posts: 163
- Joined: Fri Sep 14, 2012 6:20 pm
Re: How to check a Monster is dead?
No worries cracked it myself in the end:-
This allowed the repeated use of an altar after I had removed the item to start the bossfight.
Cheers!
Code: Select all
function startVinesBossFight()
if ancient_vines == nil or vines_bossfight == nil then
return false
else
ancient_vines.monster:setMaxHealth(500)
vines_bossfight.bossfight:addMonster(ancient_vines.monster)
vines_bossfight.bossfight:activate()
end
end
Cheers!