ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Nellie on December 12, 2009, 01:10:02 AM
-
How easy would it be to write a script that counts the amount of uses on a certain tool in your backpack i.e. i have 10 fletching tools in my bp and am in heartwood, i know i can make 37 - 40 lots of bows before my bp is full so would need to have 400 uses of a fletchers kit available.
Nel
-
How easy would it be to write a script that counts the amount of uses on a certain tool in your backpack i.e. i have 10 fletching tools in my bp and am in heartwood, i know i can make 37 - 40 lots of bows before my bp is full so would need to have 400 uses of a fletchers kit available.
Nel
I believe you would have to event property each tool individually and parse the number of uses remaining on it somehow... unless there's another way I'm not thinking of...?
-
That's pretty much how I do it Twinkle McNugget, Event property on the tool, then with every use of it, I set the number of uses left - 1 until my internal count reaches zero. Event property the next tool, rinse and repeat.
-
On a difficulty scale for an expereniced scripter id give it a 0 0r 1 (its an annoyance not difficult)
for a medium experienced scripter 3-4 (strings can be tricky)
for a newbie scripter id give it a 7 or 8. (what are strings ? and how do you manipulate then)
-
I kinda browsed his code too, and he's not giving much time for the script to get to the vendor after it's found. 1 second isn't very much time when you recall in and search for the venor to walk to it also... :)