ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Piller on March 03, 2023, 04:24:50 PM

Title: My first brag ever!
Post by: Piller on March 03, 2023, 04:24:50 PM
As a lot of you know i have been trying to learn the language flow and basics of these scripts the last few months. I saw my favorite scripter neo had a script to help with plants fo the next event so I wanted to try it. Before using his script Cs had a small script to get this set up and I changed it. I went from:

;bxe Blooming Orange Pampas Grass Plant
;QLI Bowl of dirt
repeat
{
Finditem exe_CCF_NXE_lok_BXE G_2


To:

;bxe Vibrant bright green snake plant`
;QLI Bowl of dirt
repeat
{
Finditem exe_VMF_QLI_lok_BXE G_2


And it worked!! I know this may seem super simple to some of you but when I pushed play and it started doing what it was supposed to do you would have thought I won the lotto. Totally made my night.

Tks to all that have put up with my stupid questions last few months hopefully I can keep improving.
Title: Re: My first brag ever!
Post by: Gaderian on March 03, 2023, 08:07:05 PM
Congrats!

“You have taken your first step into a larger world.” Star Wars: Episode IV – A New Hope [Ben Obi-Wan Kenobi]

It is a great feeling of accomplishment to gain some understanding. I remember my first success was something like that in one of CEO's training scripts.

It was followed by trying to script some sequence of actions, but I didn't understand the wait states for doing stuff in game. So my script ran through too quickly, doing nothing much, and I figured it was a complete failure. I am pretty sure I just deleted that script, but all it would have needed were some waits to allow actions to take place.

My first real solution came by adjusting some journal scan feedback in a bolt maker script. It was no TM_AdvJournal quality work, but I learned a lot.

The most important aspect is the confidence you gain from the success. All these scripts become something possible to alter or advance.
Title: Re: My first brag ever!
Post by: Insideout on March 03, 2023, 10:53:36 PM
Congrats it's a great feeling when it works as it should. ;D
Title: Re: My first brag ever!
Post by: Crisis on March 04, 2023, 02:25:40 AM
Congrats! Things will only get easier from here. Keep working on scripts, adjusting them to fit your needs. You will learn more of the syntax and it will become easier to understand scripts. Here is a link to my first attempt to do something for me. I felt so great getting it to work though I also had help from some awesome scripters. The more effort you put into trying, the more help you will find.

http://www.scriptuo.com/index.php?topic=9767.msg83316#msg83316

Congrats again!