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

Solved Yalahar Quest Bug

bybbzan

mapper
Joined
Aug 4, 2012
Messages
809
Solutions
2
Reaction score
136
Location
Sweden
Hello!

I have this function in my script
Lua:
local function Potwory4()
	-- Not sure which one it will detect, so let's remove both ;) However we only need it looking for the first one if that monster exists.
	if getCreatureName("Azerus Immortal") == TRUE then
		doRemoveCreature(monster)
	elseif monster = getCreatureName("Azerus") == TRUE then
		doRemoveCreature(monster)
	end

And i got this error, whats wrong?

Code:
[Error - LuaInterface::loadFile] data/actions/scripts/quests/yalahar_azerus_ques
t.lua:56: 'then' expected near '='
[Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/ya
lahar_azerus_quest.lua)
data/actions/scripts/quests/yalahar_azerus_quest.lua:56: 'then' expected near '=
'
 
Last edited:
elseif monster = getCreatureName("Azerus") == TRUE then

That line looks faktUp in my eyes :eek:
 
Back
Top