• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Blue Legs Quest/Statues and Stairs

Indenpedens

Banned User
Joined
Nov 6, 2010
Messages
584
Reaction score
39
Location
Poland
Hi:D
This is a part of blue legs quest
If you select a good configuration of statues stairs will appear

in data\actions\scripts create bluelegs_stairs.lua and paste:
Code:
function onUse(cid, item, frompos, item2, topos)
local stat1 = {x=33281, y=32442, z=8, stackpos=1}
local stat2 = {x=33286, y=32444, z=8, stackpos=1}
local stat3 = {x=33284, y=32450, z=8, stackpos=1}
local stat4 = {x=33278, y=32450, z=8, stackpos=1}
local stat5 = {x=33276, y=32444, z=8, stackpos=1}

orlacepos = {x=33284, y=32476, z=8}
schodypos = {x=33273, y=32458, z=8}
schody2pos = {x=33273, y=32459, z=8}
local statuetka1 = getThingFromPos(stat1)
local statuetka2 = getThingFromPos(stat2)
local statuetka3 = getThingFromPos(stat3)
local statuetka4 = getThingFromPos(stat4)
local statuetka5 = getThingFromPos(stat5)
if item.uid == 9900 then
if statuetka1.itemid == 3698 and statuetka2.itemid == 3698 and statuetka3.itemid == 3697 and statuetka4.itemid == 3697 and statuetka5.itemid == 3697 then
doRemoveItem(statuetka1.uid,3697)
doRemoveItem(statuetka2.uid,3697)
doRemoveItem(statuetka3.uid,3697)
doRemoveItem(statuetka4.uid,3697)
doRemoveItem(statuetka5.uid,3697)
doCreateItem(7525,1,schodypos)
doCreateItem(7521,1,schody2pos)
doCreateItem(1448,1,orlacepos)
doPlayerSendTextMessage(cid,22,"Oh, there are stairs!")
else
doPlayerSendTextMessage(cid,26,"Bad configuration")
end
return 1
end
end

in actions.xml add:
Code:
<action uniqueid="xxxx" event="script" value="bluelegs_stairs.lua" />

and you must set Unique ID on the map on this item:
HmnHFU1.jpg
 
Then do it with your comment or don't give that comment at all The_Hide. :)

Kind Regards,
Eldin.
 
Back
Top