ID:272869
Apr 29 2009, 11:29 pm
|
|
I was trying to think up a good way to make it so that a player can change macro's featured in the interface at and during runtime. I thought the best way would be to make the macro's return a proc which checks what the player has assigned to that button and then use that verb. Any tips on a different, or how I can go about achieving what I want to do here?
|
In response to Kaioken
|
|
I see... Thank you for your help.
|
Yes, you just need a verb that calls another verb depending on what the player has chosen for that key. You could even mix call() in there to make it a little easier, though it's not necessary.
The only other way is to utilize the ability to change interface macros at runtime. With this you can edit the actual macro itself, e.g. to activate a different command/verb. It's done by making the macros through the interface, giving them IDs, and using those in winset().