-
ctps
- Posts: 4
- Joined: Fri Jan 22, 2010 4:32 am
#1
Post
by ctps » Tue Mar 16, 2010 1:49 am
Hi all,
I try planting with the bot so I included this function in waypoint file but nothing happens. It seems this function broken.
Code: Select all
RomScript("Houses_SetFocusFurnishingID(1);");
The idea is that we will select all planting pots which have IDs from 1 to 10. With the help of an addon such as GreenThumb, your plants will be watered. Using mouse click function of the bot might work but you will need to arrange your pots exactly the same for your chars. Besides, game camera works abnormally when you are in house --> It's hard to be done this way.
Anyone knows how to use this function or have a good way to do planting with the bot?
Many thanks
-
nokirk
- Posts: 73
- Joined: Sat Jul 03, 2010 2:26 pm
#2
Post
by nokirk » Sun Nov 28, 2010 12:40 pm
I'm also working on this problem but stuck not only on adressing one plant after the other but also using functions of an addon.
I thought about using 5 different types of pots but that doesn't seem very elegant. I also found
in an addon but I dont know why it wouldn't take the pot into target. Is there a way to adress the pots one after the other?
And is there a way to adress an addon what to do via rombot?
Hope anybody has an idea or would like to share how this could be done
Thanks a lot.
-
Administrator
- Site Admin
- Posts: 5333
- Joined: Sat Jan 05, 2008 4:21 pm
#3
Post
by Administrator » Sun Nov 28, 2010 1:22 pm
Don't include the semicolon. You're creating a syntax error.
-
nokirk
- Posts: 73
- Joined: Sat Jul 03, 2010 2:26 pm
#4
Post
by nokirk » Sun Nov 28, 2010 4:28 pm
Alright thank you Administrator! Seems with this command you can change the selected furniture only in the furniture menue - unfortunately it won't open the specific frame :/
Tried it with
but it seems like it only opens the last plant I manually opened, couldn't figure out how to open other plants. Any hints? Many thanks
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#5
Post
by rock5 » Sun Nov 28, 2010 6:51 pm
nokirk wrote:And is there a way to address an addon what to do via rombot?
Typically you execute the addons functions. eg. when you click a button, that executes the onclick function so all you have to do to simulate it is to run that function from RoMScript. When entering data you need to find that controls name so you can change its text eg. editcontrolboxname:SetText("new text") or SetValue depending on the control. Again that's via RoMScript. Finding the names can be really hard though.
Hope that gives you ideas.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:
- “They say hard work never hurt anybody, but I figure, why take the chance.”
-
poulpito
- Posts: 7
- Joined: Sun Nov 14, 2010 5:24 pm
#6
Post
by poulpito » Mon Nov 29, 2010 7:50 am
i'm trying to create same kind of waypoint
i've dispatch all pots around the house creating a waypoint near each one
i'm trying to use commands
player:findNearestNameOrId(_objnameorid, _evalFunc)
player:target_Object()
Who is online
Users browsing this forum: Bing [Bot] and 1 guest