Jump to content

danielbhte

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by danielbhte

  1. 6 hours ago, zakne11 said:

     

    use database to add conditions

     

    
    local playersOnScreen = 0 for _,
    creature in pairs(g_game.getCreatures()) do 
      if creature:isPlayer() then 
        playersOnScreen = playersOnScreen + 1 
      end
    end
    
    if playersOnScreen = 1 then
       ...

     

    it didn't work for me
    I wanted him to face the monster and use spell "exemple exori vis"
     

  2. On 10/8/2020 at 12:37 PM, Zelek said:

    Write a brief explanation of what you would like the script to do.

    Please make sure that the script you requested isn't already available at the forum, otherwise your post will be removed.

     

    List of scripts:

    1. Use spell based on player's soul
    2. Auto fishing
    3. Wave/area spell
    4. Turn to target
    5. Eat food
    6. Drop specified items on the ground
    7. Use item on the map based on character's position
    8. Cast targeted spell with health check

    turn the character in front of the monster and use X spell
    if a player appears on the screen, stop using the spell
     

×
×
  • Create New...