• 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!

Mystic Spirit 2.10 Teleporting Summons

Albanon

New Member
Joined
Mar 5, 2011
Messages
93
Reaction score
1
This is a script I found for 0.3.6cryingdamson. I would like to edit this, but I do not know where to begin. Mystic Spirit lacks many of the functions that CryingDamson has. Is there a way to tweak this code to work for Mystic Spirit? If not, is there a way to add functions to mystic spirit?

Code:
function onSay(cid, words, param)
	if param == "" then
			doPlayerSendTextMessage(cid, 22, "Please specify one of your summons.")
	else
		if getCreatureSummons(cid) == getCreatureByName(param) then
			if getCreatureName(getCreatureByName(param)) == TRUE and getCreatureMaster(getCreatureByName(param)) == cid then 
				doTeleportThing(getCreatureByName(param), getCreaturePosition(cid), TRUE)
			else
				doPlayerSendTextMessage(cid, 22, "You do not have that monster summoned.") 
			end
		end
	end	
 return true    
end
 
Last edited:
Back
Top