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

Help with monster

Seumion

★ Spell Maker & Mapper ★
Joined
Feb 24, 2015
Messages
172
Reaction score
2
how to make monster heal like this @heba
rdGyAll.jpg
 
this for example u can change number's
<defenses armor="0" defense="0">
<defense name="healing" interval="10000" chance="100" min="24000" max="24000"/>
</defenses>
 
its will be like traning monk :D
<defense name="healing" interval="10" chance="100" min="999999999" max="999999999">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
 
its will be like traning monk :D
<defense name="healing" interval="10" chance="100" min="999999999" max="999999999">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
thnaks heba you are too helpful sorry for your time but i want some scripts can you?

1-when i make /m name gm it will summon gm monster and his outfit
2-i want script like in this photo but not creaturescripts i want when i use rune on player he got this effect
xAWNxUk.png

@heba
 
for effect add this in any action or movment script
Code:
 local position = getCreaturePosition(cid)
            doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
            for i = 1, 30 do
doSendDistanceShoot({x = position.x + math.random(-12 ,12), y = position.y + math.random(-12 ,12), z = position.z}, position, 35)
end
say /z number too see number for this effect i think its 35
 
its will be like traning monk :D
<defense name="healing" interval="10" chance="100" min="999999999" max="999999999">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
but this not the same of the photo bro your script make the monster always make uh i won't that i want it make heal
 
for effect add this in any action or movment script
Code:
 local position = getCreaturePosition(cid)
            doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
            for i = 1, 30 do
doSendDistanceShoot({x = position.x + math.random(-12 ,12), y = position.y + math.random(-12 ,12), z = position.z}, position, 35)
end
say /z number too see number for this effect i think its 35
sorry bro but can u make that script when i use paralyze on player he will got this effects and says frozen and he cant move when i make another rune he can move @heba
 
gave me ur para script
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end


its a normal parlyze i want it for gods only when he use it the player cant move and say frozen and when he use another rune player can move
 
Last edited by a moderator:
Code:
combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

local condition = createConditionObject(CONDITION_PARALYZE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setConditionFormula(condition, -0.9, 0, -0.9, 0)
setCombatCondition(combat, condition)

function onCastSpell(cid, var)
local position = getCreaturePosition(cid)
            doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
            for i = 1, 30 do
doSendDistanceShoot({x = position.x + math.random(-12 ,12), y = position.y + math.random(-12 ,12), z = position.z}, position, 35)
end
return doCombat(cid, combat, var)
end
 
hey @Seumion
You can use /freeze script so u can freeze a players like evolera here u are the script !!

Code:
local function repeatAnimated(cid, on, off)
local repeatEvent = 0
doSendAnimatedText(getThingPos(cid), "Frozen!", math.random(1, 254))
if on then
repeatEvent = addEvent(repeatAnimated, math.random(1, 4) * 1000, cid)
elseif off then
stopEvent(repeatEvent)
end
end
function onSay(cid, words, param, channel)
local t = string.explode(param, ",")
local player = getPlayerByNameWildCard(t[2])
if t[1] == "freeze" then
if isPlayer(player) then
doCreatureSetNoMove(cid, true)
repeatAnimated(cid, on)
else
doPlayerSendTextMessage(cid, 27, "Player " .. t[2] .. " not found.")
end
elseif t[2] == "unfreeze" then
if isPlayer(player) then
doCreatureSetNoMove(cid, false)
repeatAnimated(cid, off)
else
doPlayerSendTextMessage(cid, 27, "Player " .. t[2] .. " not found.")
end
else
doPlayerSendTextMessage(cid, 27, "not enough params.")
end
return true
end
 
hey @Seumion
You can use /freeze script so u can freeze a players like evolera here u are the script !!

Code:
local function repeatAnimated(cid, on, off)
local repeatEvent = 0
doSendAnimatedText(getThingPos(cid), "Frozen!", math.random(1, 254))
if on then
repeatEvent = addEvent(repeatAnimated, math.random(1, 4) * 1000, cid)
elseif off then
stopEvent(repeatEvent)
end
end
function onSay(cid, words, param, channel)
local t = string.explode(param, ",")
local player = getPlayerByNameWildCard(t[2])
if t[1] == "freeze" then
if isPlayer(player) then
doCreatureSetNoMove(cid, true)
repeatAnimated(cid, on)
else
doPlayerSendTextMessage(cid, 27, "Player " .. t[2] .. " not found.")
end
elseif t[2] == "unfreeze" then
if isPlayer(player) then
doCreatureSetNoMove(cid, false)
repeatAnimated(cid, off)
else
doPlayerSendTextMessage(cid, 27, "Player " .. t[2] .. " not found.")
end
else
doPlayerSendTextMessage(cid, 27, "not enough params.")
end
return true
end
when i put?
 
Back
Top