[EasyUO]Open Plants

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Post Reply
Alamiester
Legendary Scribe
Posts: 270
Joined: Wed Jan 04, 2017 8:49 pm

[EasyUO]Open Plants

Post by Alamiester »

prettys simple, designed to open beehives. i changed a few things, now they open plants,,,,in a pot whit no plant, how can i have this script open pots on my level...

Code: Select all

initevents

begin:
finditem NXE G_2 ; ABC... being the plant types id, change this too your plant id.
while #findIndex <= #findCnt
{
set #LOBJECTID #FINDID
event macro 17 0
set #findIndex #findIndex + 1
wait 1s
}

begin:
finditem OLI G_2 ;  OLI... Pot with sprouted seed
while #findIndex <= #findCnt
{
set #LOBJECTID #FINDID
event macro 17 0
set #findIndex #findIndex + 1
wait 1s
}

begin:
finditem QLI G_2 ;  QLI... Pot with dirt, includes unsprouted seeds
while #findIndex <= #findCnt
{
set #LOBJECTID #FINDID
event macro 17 0
set #findIndex #findIndex + 1
wait 1s
}

display finished
halt

;  QLI Pot with dirt, includes unsprouted seeds
;  OLI Pot with sprouted seed
;  TCF Century Plant
;  BWE Campion
;  IWE Snowdrop
;  ICF Prickly Pear
;  BXE Pampas Grass
;  CCF Barrel Cactus
;  NXE Snake Plant
;  MWE Bullrushes
;  NWE Elephant Ears
Last edited by Alamiester on Thu Jun 16, 2022 11:54 am, edited 1 time in total.
Alamiester
Legendary Scribe
Posts: 270
Joined: Wed Jan 04, 2017 8:49 pm

Re: [EasyUO]Open Plants

Post by Alamiester »

already this isnt working for me after getting to day 3-5. i see the status changes on pots a bit but the id is the same. any ideas?
Alamiester
Legendary Scribe
Posts: 270
Joined: Wed Jan 04, 2017 8:49 pm

Re: [EasyUO]Open Plants

Post by Alamiester »

already see the issues, there are so many different variables on plants, i will have to record them all for each plant.
Alamiester
Legendary Scribe
Posts: 270
Joined: Wed Jan 04, 2017 8:49 pm

Re: [EasyUO]Open Plants

Post by Alamiester »

found this after doing some searching, couldnt get it to work but had some information that i used.

https://www.uoex.net/forum/viewtopic.php?p=69057
Post Reply