| Posted: August 29th, 2007 |
|
Total Posts:6662 Joined:2004
|
|
You can get the ActionName which will return the name of the action that you can do.
Ie, type in /craftingselectstep 3
It will switch to (for instance) Fashion.
The Fashion, lets say has 3 actions. They are:
Fashion, Steadfast Fashion, and Slight Etching.
Once you have selected a crafting step, you can call the scripting api: Crafting.ActionName(xx) and it will return the name (ie steadfast fashion). You pass it in the # of the action you are interested in.
This way, you can get a ActionCount, and loop through all of the actions and get out their names. The best way is to build into your script what each action does.. Ie, Steadfast Fashion will Progress Low, Quality Low, and Cost 100.
You can then determine which of your available options you wish to use.
Just be SURE you have entered a /craftingselectstep XX so that it populates each action struct internally. If you dont, actionname will return garbage or a null string.
Now with all of that said.. I went ahead and added Crafting.StepName(xx) where xx is the # of the step you are interested in. Ie step 1 is Board, step2 = Vice, etc.
You may need to update the VGExtreme.exe if it is not returning correct values. Ie, delete everything but UpdateVGExtreme.exe and let it grab all new files.
_________________ Use Search first, ask questions later! |
|