ELEM3NT
LUA Status: Beginner
How do we make it so it sets someone's basespeed once right clicked lever? Like right click lever, there basespeed stays at 100.. This is what I have, I just need it to change the basespeed to a certain number so everyone can be same speed(only need the function to put it in my script)
Lua Code:
Questions:
1) How do I make it so people can walk through eachother(the tibia function)? Because my event is a maze and I don't people trapping eachother.. There are alot of 1 way paths.
2) How do I make it so people can't use spells in certain areas, like utani hur to speed them up n stuff. Like they've already been exhausted? =O
Thank you!
Lua Code:
LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local outfit = { lookType = 21, lookHead = 0, lookAddons = 0, lookLegs = 0, lookBody = 0, lookFeet = 0 }
if item.actionid == 6273 then
doSetCreatureOutfit(cid, outfit, 10000*60*1000)
doSendAnimatedText(getPlayerPosition(cid), "HAM!", 78)
>doSetBaseSpeed or however you do it here or something<
doPlayerSendTextMessage(cid,22,"Please here while the event gets started.")
doTeleportThing(cid, {x=1742, y=2052, z=7})
end
end
Questions:
1) How do I make it so people can walk through eachother(the tibia function)? Because my event is a maze and I don't people trapping eachother.. There are alot of 1 way paths.
2) How do I make it so people can't use spells in certain areas, like utani hur to speed them up n stuff. Like they've already been exhausted? =O
Thank you!