2H<>1H+Shield toggle
#8
Ynir,Jan 5 2005, 09:04 AM Wrote:I thought that the usage for the function I posted

UseAction(ActionID, x, y)

would be

x, y&nbsp; = bar, slot&nbsp; (or vice versa)

and ActionID was the returned parameter.&nbsp; I could not find this function in the Lua list in this form, however.
[right][snapback]64427[/snapback][/right]

It doesn't appear so. There is a single integer (the ActionID) which identifies which bar and slot, just as the text you posted indicates. There are 10 bars, each with 12 slots, meaning your parameter needs to be between 1 and 120.

I am reporting what the game indicated back to me--you get a script error if you pass three parameters and it gives you the expected usage of the function.

One caveat--I understand that is easy to override functions in Lua. As I use Cosmos, they may have overridden this one and changed its form--hence the discrepancy.


One more tidbit: I stumbled upon this bit of info from WoWWiki:

Code:
If you are using Cosmos, you can use the following commands :

/equip <Item Name>
/unequip <Item Name>
/saveset <Number>
/loadset <Number>

I haven't played with this yet, but /saveset and /loadset looks to be of general use for
this kind of thing and might be a better way for me to go about switching between my
defensive and offensive setups.

I'm hoping what is saved is a set of equipped items.
Reply


Messages In This Thread
2H<>1H+Shield toggle - by Ynir - 12-20-2004, 05:16 PM
2H<>1H+Shield toggle - by vor_lord - 12-23-2004, 05:10 PM
2H<>1H+Shield toggle - by Ynir - 01-04-2005, 09:33 PM
2H<>1H+Shield toggle - by Ynir - 01-04-2005, 09:41 PM
2H<>1H+Shield toggle - by vor_lord - 01-04-2005, 11:04 PM
2H<>1H+Shield toggle - by vor_lord - 01-05-2005, 03:18 PM
2H<>1H+Shield toggle - by Ynir - 01-05-2005, 04:04 PM
2H<>1H+Shield toggle - by vor_lord - 01-05-2005, 08:28 PM
2H<>1H+Shield toggle - by Ynir - 01-13-2005, 09:14 PM
2H<>1H+Shield toggle - by vor_lord - 01-13-2005, 11:18 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)