ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: relliker on November 14, 2011, 08:03:31 AM
-
Hello,
I'm trying to create a script that searches for house states.
I've figured out how to make it search for the signs on screen, but i can't figure it out how to single-click each sign so it shows the state, and searches the journal for the states specific words.
First, how does the click command work? is it by axis or could it work by coordinates in game?
Second, let's say that i realized the first problem, now, how would i set the script to not click the same signs that it clicked before?
I'm stuck on this for about 2 weeks, and can't figure it out.
Hope you guys can help me.
Thank you.
-
is event property working on your shard?
about the click command. when you open up your easyuo, and move your mouse cursor, you will see that some of the cordinates in the botton of the window are changing - those are the cordinates you need for mouse clicking, but if you shard does support event property, then you dont have to worrie about that - in this particullar case.
-
You need to try the event property command.
http://wiki.easyuo.com/index.php?title=Event_Property (http://wiki.easyuo.com/index.php?title=Event_Property) Here is the info for event Property
also I would look at the finditem command if you are new to scripting.
http://wiki.easyuo.com/index.php?title=FindItem (http://wiki.easyuo.com/index.php?title=FindItem)
hope that helps you!
Your code should look something like...
set %house_sign KKE
finditem %house_sign ; This line will find the Signs listed in the item type %house_sign
wait 2
event property #findid ; This line will get the information associated with the current #finditem index
gosub do_something
-
Event property works on post-AOS shards. Just an FYI. If you are playing a pre-AOS shard, then you are out of luck.
-
I play on H.ybrid. I don`t think the property works, i`ve already tried that.
Thats why i wanted to make the click command, click on each sign by ingame coordinates.
Single click though, so it can show the name of the house and state to capture in journal.
Is there a way to do that?
-
We play on the same shard. From which idoc guild are you?
-
I`m not in any guild ^^ i run solo.
Which guild are you in?
Any ideas on that problem though?
-
Rolling on your own and doing idocs?? You must be kidding me. anyways. check this out.
http://www.easyuo.com/docs/lexia-dev/subs_clickScreenXYZ.php
and http://www.easyuo.com/forum/viewtopic.php?t=44459&start=0&postdays=0&postorder=asc&highlight=clickscreenxyz
-
Insane right? ONE is freaking owning this shard nowadays.. They suck imo though.
Anyways, have you created a similar script?