ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: billtcat on July 20, 2010, 10:07:21 AM

Title: Script Help needed Please :)
Post by: billtcat on July 20, 2010, 10:07:21 AM
I play on a freeshard that uses runecrafting. I dig Rough Stones and make blank runeswhich are then are inscribed with an enhancement  property that can be used on an item

Example I have lower LRC runes and I use them on rings to increase the lower LRC attribute of the ring. This will either increase the property or break the item and it disssapears

Here is what I want to do


Fill one bag with items of the same type (let say sandles)

Fill another bag with my lower LRC runes (or whatever type I want o use)

Start script

Script does this

Applies a rune to each item one at a time then starts back at the first one and does it again and again until either one of the bags is empty

If someone could rough this out to get me started in the right direction it would be greatly appreciated.


Bill The cat
Title: Re: Script Help needed Please :)
Post by: Cerveza on July 20, 2010, 10:17:06 AM
Sounds like you already have a rough, and are going in the right direction...

Get some stuff so you can do it by hand. Then do EACH step and document what you are doing. Write it down and look at it, understand how it flows....

Then start breaking it into sections, and start writing your script.

Yeah that seems like a jump, but it's a good way to learn. To help you on your way, find a script that does THAT SECTION similar to what your doing. If you want to drag 10 items from your secure container to your backpack, find a script that does that (maybe not 10 items, but you get the idea) then use that as an example.

Then move on to the next part.

Before long you'll see that you're scripting. You can move items, use some, target others... etc....