Author Topic: Clicking trees  (Read 1721 times)

0 Members and 1 Guest are viewing this topic.

Offline b@nditoTopic starter

  • Jr. Member
  • **
  • Posts: 48
  • Activity:
    0%
  • Reputation Power: 0
  • b@ndito has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Clicking trees
« on: January 20, 2011, 10:31:50 AM »
0
On the freeshard i'm currently playing has been started a weird event, players have to click bushes, trees and various other statics in order to find the hidden treasure, the only way to find statics in easyuo is the tile get function but it actually returns only coordinates of an item, then the question is, there is any simple way to make mouse clicks directly by tile coord or i have to convert game's tile x/y to screen x/y? this would be terrbly complex, as every static has a z coord and different layer size...
« Last Edit: January 20, 2011, 10:34:14 AM by b@ndito »

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13305
  • Activity:
    0.8%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Clicking trees
« Reply #1 on: January 20, 2011, 10:36:05 AM »
0
If you take a look at my generic LocateTree sub, you might be able to adapt it to your freeshard:

http://www.scriptuo.com/index.php?topic=1227.0;highlight=locatetree
Please read the ScriptUO site RULES
Come play RIFT with me!

Tags: