• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

(Request) Special Summon Rune

xx Kami xx

Retired.
Joined
Dec 29, 2012
Messages
509
Reaction score
20
hello im looking for a script so when you use a rune on the ground it summon's a monster for example a Demon or a Hydra kinda like a pet but in a rune :p can anyone help me?

Will Rep++
 
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	local target = doSummonCreature("Demon", toPosition) -- summons creature "Demon" with rune used postion and handles it to target variable
	doConvinceCreature(cid, target) -- make cid (self) as owner of summoned creature (target variable) 
	return true
end
 
Lua:
function onUse(cid, item, fromPosition, itemEx, toPosition)
	local target = doSummonCreature("Demon", toPosition) -- summons creature "Demon" with rune used postion and handles it to target variable
	doConvinceCreature(cid, target) -- make cid (self) as owner of summoned creature (target variable) 
	return true
end

it works but is there a chance to make it so you can only have a max of 2 pets's (untill 1 of the pets dies)
 
You can use the area check I made in the lever summens ferumbras script, but then instead of toPosition use getPlayerPosition(cid) and instead of Ferumbras use Demon.
 
Back
Top