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

target

  1. miguelshta

    Linux Square Color image?

    hello im trying to create a pushmax script im currently working on image recognition i wanted to recognize Red square or green square from attack or follow then i ll use mouse move to grab de target this is for studying pruporses what i need is: -Clean Red Square image png or Clean Green Square...
  2. I

    OTC Bot

    Hello everyone and i'm sorry if i'm posting it on the wrong place, i've never posted anything here. I was wondering if somebody could help me with a code for OTC bot that help me to change the lureCount from 5 to 8 everytime the cavebot pass reads the fuction. I'll explain here in a better...
  3. Paulix

    TFS 1.X+ Creature challenging player

    I'm currently using TFS 1.5 downgraded to 8.6, I'm trying to create a creature that pulls the player target to make it attack itself. I created a simple spell that changes the target using setTarget, and it works, but the "red square" that indicates who the player is attacking isn't updating...
  4. Yan18

    TFS 1.X+ [TFS 1.3] How to Do Players No Hit Monsters Melee and Range Damage?

    Hello folks! I would like to know how to do players no hit damage monsters melee and range, however, the player can target monsters. In other words, I want players can target and focus monsters, but the monsters don't receive damage from players (0 damage when targeting). Although, the monster...
  5. Yan18

    TFS 1.X+ [TFS 1.3] What Function Is Equivalente to onAttack or onCombat from TFS 0.X?

    Hello guys! I would like to know what function I can use to get Attacker and Target in combat to set target. I tried use the function Creature: onTargetCombat(target) from file creature.lua but it didn't work. I need to set target from monsters to my summons instead me when I have a summon. I...
  6. a Shadou

    TFS 1.X+ Perfect paralyze rune

    I've made script for paralyze rune but i have one problem. This script requires target to calculate how much speed it has to decrease. Problem is that you can't throw rune without targeting someone. Example: you won't be able to use rune through battle list. Does anyone know better way to find...
  7. Ns Sparkz

    Lua attempt to index local 'target' <a nil value>

    am trying to fix firestorm event this : Firestorm Event | Tfs 1.2 (https://otland.net/threads/firestorm-event-tfs-1-2.237061/) am getting these errors Lua Script Error: [Main Interface] in a timer event called from: <Unkown scriptfile> data/firestorm_event.lua:66:in function 'dostartfirestorm'...
  8. C

    TFS 1.X+ How to automatically use an object in BP on target?

    How can I make a function that makes X item in Backpack attack Y target (that is an object btw)? Basically, the same thing as you right click on the item and left click it on a object, but I want this as a code. Is it possible to do?
  9. Ü

    Bug PUSH on TARGET OTX 3.7 TFS 1.3

    I need your help, the player when he is attacking can not push correctly, he has to stop attacking to push. Help please <3
  10. GOD Half

    TFS 1.X+ getDirection() of target - TFS1.3

    Hi guys, how do I print the direction the target is looking? The model below prints the direction the player is looking, but I need the direction that the target of the player is looking to be printed: function onThink(interval, lastExecution, thinkInterval) for _, player in...
  11. S

    Spell Storage Target - Help [TFS 0.4]

    Hi people, I'm trying to create a spell AREA that adds storages in TARGETS per 5 sec, its possible? local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, 31) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, true)...
  12. D

    [request] LUA Script: Heal % of damage dealt

    Hi, guys! I'm making a weapon that heals 25% of the damage dealt to the target. Here's the script: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat...
  13. M

    Lua Making Target Spell Static

    Anyone knows how to make the spell to ignore player position when casting? I remember it was the way the spells worked in earlier Tibia versions but now it has been changed, examples below; * It is a target-based spell Current Result: --------------------- Expected Result --...
  14. G

    Lua [TFS 1.2] monster use spell only if it is at a distance > 1 from target

    Have this spell for example: someone knows how to check the distance between the creature and the target? thanks
  15. Saper1995

    target:getUniqueId()

    Hi. Like in title. How to get uniqueID from target in TFS 1.2? In functions i only found item:getUniqueId() but how to define ItemEx.Uid like in old tfs? I was trying to make it in many ways but everytime nothing happend, no errors in console. I set UID in map editor and make this: <action...
  16. duduprec

    Change the effect/sprite of the attack/target and follow commands?

    Good afternoon guys from OTLand, I'm going back to messing with OTserver, I'm from the old times, from the time that neither OTClient existed yet hehe. Even lost my old account from here. With so many possibilities and resources I'm still a bit lost, but I've already been able to compile the...
Back
Top