Hey guys! I wrote the most simple script for my gameworld and want to implement a boss where you press on the item with actionid = 666 and he spawns, ofcourse. But I don't seem to find a way to add exhaust/duration on the script before you can summon him again. I'd say about 360 seconds (several minutes).
The script:
Thanks!
PS: As a summary I want to make it impossible to pull over and over again to spawn multiple bosses!
The script:
Code:
function onUse(cid, item, frompos, item2, topos)
if(item.actionid == 666) then
doSummonCreature("Count Vladimir", {x = 1086, y = 1053, z = 10})
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You\'ve awakened the vampire lord.")
doSendMagicEffect(getThingPos(cid), CONST_ME_DRAWBLOOD)
return TRUE
end
end
Thanks!
PS: As a summary I want to make it impossible to pull over and over again to spawn multiple bosses!