Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Alamiester
Legendary Scribe
Posts: 279 Joined: Wed Jan 04, 2017 8:49 pm
Post
by Alamiester » Mon Jun 13, 2022 12:09 am
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: 279 Joined: Wed Jan 04, 2017 8:49 pm
Post
by Alamiester » Tue Jun 14, 2022 9:41 pm
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: 279 Joined: Wed Jan 04, 2017 8:49 pm
Post
by Alamiester » Tue Jun 14, 2022 10:50 pm
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: 279 Joined: Wed Jan 04, 2017 8:49 pm
Post
by Alamiester » Thu Jun 16, 2022 11:55 am
found this after doing some searching, couldnt get it to work but had some information that i used.
viewtopic.php?p=69057