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

erro spells i need help

Valakinhas

New Member
Joined
May 21, 2014
Messages
12
Reaction score
0
erro
[11/06/2014 19:11:19] [Error - TalkAction Interface]
[11/06/2014 19:11:19] data/talkactions/scripts/move4.lua:eek:nSay
[11/06/2014 19:11:19] Description:
[11/06/2014 19:11:19] (luaCreateConditionObject) This function can only be used while loading the script.

[11/06/2014 19:11:19] [Error - TalkAction Interface]
[11/06/2014 19:11:19] data/talkactions/scripts/move4.lua:eek:nSay
[11/06/2014 19:11:19] Description:
[11/06/2014 19:11:19] (luaSetConditionParam) This function can only be used while loading the script.

[11/06/2014 19:11:19] [Error - TalkAction Interface]
[11/06/2014 19:11:19] data/talkactions/scripts/move4.lua:eek:nSay
[11/06/2014 19:11:19] Description:
[11/06/2014 19:11:19] (luaSetCombatCondition) This function can only be used while loading the script.

[11/06/2014 19:11:19] [Error - TalkAction Interface]
[11/06/2014 19:11:19] data/talkactions/scripts/move4.lua:eek:nSay
[11/06/2014 19:11:19] Description:
[11/06/2014 19:11:19] (luaDoAddCondition) Condition not found


[spell]
elseif pokemon.x.spell == "Invisible" then
doCreatureSay(getCreatureSummons(cid)[1], ""..string.upper(c[getCreatureOutfit(getCreatureSummons(cid)[1]).lookType].x.spell).."!", TALKTYPE_MONSTER)
doCreatureSay(cid, ""..getCreatureName(getCreatureSummons(cid)[1])..", use "..c[getCreatureOutfit(getCreatureSummons(cid)[1]).lookType].x.spell.."!", TALKTYPE_SAY)
exhaustion.set(cid, pokemon.x.ex, pokemon.x.cd)

local condition = createConditionObject(CONDITION_INVISIBLE)
setConditionParam(condition, CONDITION_PARAM_TICKS, 20000)
setCombatCondition(combat, condition)

doAddCondition(getCreatureSummons(cid)[1], condition)

return 0
 
Post the whole script. If the problem is only the condition, add it at the top of the script (above the function).
 
Back
Top