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

Search results

  1. M

    Lua Say function

    Hello It's me again. There is a function that make player talk? Example - some player walk into some tile and then script is activated and that player automatically says "Argh!".
  2. M

    Lua Critical Damage

    Hello i wanna make some critical damage passive spell. To do that i need to get first what damage player will deal on next attack and then add to it like 3%,6% of this damage value and then character attacks normally but with that critical add value. It should look like : 1. Script checks that...
  3. M

    Solved Burning arrow spell

    Hello It's me again ;). I wanna make spell that will shoot some projectile into enemy and make him burn for some time and some damage, like walk into fire field but without firefield. Like I'm attacking an Orc, I'm casting "Burning Arrow!" - some animation appears and Orc start to burn 10 damage...
  4. M

    Lua Shoot range

    Hello i made this script for custom passive spell that make player who have it to add shootrange to bow: function onEquip(cid, item, slot, uid) local skill_level = getPlayerStorageValue(cid, 9000) local original_item_range = getItemInfo(item.itemid).shootRange...
  5. M

    Solved onLook function

    Hello It's again me ! I have question about onLook function in tfs. I wrote such script function onLook(cid, item, position, distance) if(item.itemid == 2456) then local shootrange = getItemAttribute(item.uid, shootRange) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Bow...
  6. M

    Lua Calling variable from other script

    Hello, there is a way to call a variable from other script into one im working on ? For example i have variable that holds on which lvl my character have spell for example fire_bolt_lvl= 1. And i have npc that teach my character new levels of that spell so i have to call that fire_bolt_lvl...
  7. M

    Solved Need help with doCreateMonster function !

    Hello I'm using tfs 0.4.1 and I wanna make a simple script - when i click on a lamp it gonna create a dragon near character. Script looks like function onUse(cid, item, frompos, item2, topos) if(item.itemid == 2344) then doCreateMonster(cid,"Dragon") end return true end When I'm using this...
Back
Top