Author Topic: Script Help needed Please :)  (Read 3311 times)

0 Members and 1 Guest are viewing this topic.

Offline billtcatTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Activity:
    0%
  • Reputation Power: 1
  • billtcat has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Script Help needed Please :)
« on: July 20, 2010, 10:07:21 AM »
0
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

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +861
  • Referrals: 11
    • View Profile
Re: Script Help needed Please :)
« Reply #1 on: July 20, 2010, 10:17:06 AM »
0
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....
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Tags: