|
Post by cidhighwind on Nov 4, 2008 3:31:03 GMT -5
I failed to find a list of all(or any) Speech Tab commands. Currently I know:
<player> = displays your name. <target> = displays the name(%t) of your current target. <focus> = displays the name(%f) of your current focus target.
<mount> = displays the name of the mount you are about to use.
<emote> = uses the line like /me command. <raid> = following string in raidchat (/ra) <party> = following string in partychat (/p) <say> = following string will be said (/s) <yell> = following string will be yelled (/y) <newline> = following text will be in a new line
That's all by now, feel free to add if I missed some. [[Still waiting for: <pet>, displays the name of your pet which is summoned/being summoned.(hunter/warlockpets, probably also shadowghost/treants/...) <petpet> displays your pets name (e.g. Lurky, Mojo, Siamcat,...) <spell> Current spell/item used (e.g. Throwing leather ball to <target>).]]
|
|
|
Post by Moongaze on Nov 7, 2008 4:57:31 GMT -5
There is also: <portal> = displays the name of the currently casted portal, for the lovely mages. <spell> = displays the name of the spell that triggered this action. <whisper> = says the current speech line to the target. Great for healing, soul stoning, or rez speeches to let the person know that they're next. Of course, for <spell> to work, you need to assign that spell to the assignment list for that script. Thus, if you has a leather bar, you can do this: "Throwing <spell> to <target>!" And on Action Assignment area, drag the leather ball to the assignment list box to auto-add it in. Or drop it in the assignment box next to the add button, and then click add... but that's slower You can also add the action assignment type "Vanity Pet" to the action list and any type you call a vanity pet, it will trigger. To get the vanity pet name, it happens to be a spell, so <spell> also works. Pet names are a little more difficult without a premade list of pet names that LS needs to build. I might make it so you can do a summoned attack pet, but the speech would only trigger when it is summoned, not "during" the summon... of course, you could always create two scripts. One for "during summon" and one for "after summon" and the "during summon" would have something generic for a Warlock, for example. Like, "I'm drawing some runes on the ground... you know what THAT means, right?" and assign each summon spell to the script. Then, in the after summon script, you would have something like. "Finally, nice of you to join us, <pet>" and your pet's name would be used. This would be for the "summon pet" type that I would need to make and, like I said, would take effect AFTER it is summoned. That's what I could do, at least... The code for <pet> will be in the next version, but it will only return the name of the pet if it is available while the speech is being said. Good for feeding speeches, or dismissing speeches I guess. Summoning speeches will need to wait for the spell to finish... or for me to add an event check for pet summoning...
|
|
|
Post by cidhighwind on Nov 8, 2008 20:04:14 GMT -5
Necrosis had the thing with pets names while they were being summoned, that's where I took that idea.
|
|
|
Post by Haggo on Nov 8, 2008 20:10:12 GMT -5
That worked, because necrosis saved the pets' names; the first time you used a speech on a formerly not known pet, necrosis would fail the same way due to lack of saved names.
[edit] Now, that djp mentioned it ... yes, necrosis did use generic speeches. I used necrosis for well over a year - thus it's embarrassing I forgot this fact. ;D Maybe I get old. *looks for a coffin*
|
|
|
Post by djp on Nov 8, 2008 20:34:19 GMT -5
Necrosis worked, by having a set of generic scripts for when it didn't know the Pet name, once it did, it started using its other ones. Would be nice if Lunarsphere could store the Pet Names, but I've taken to manually entering mine, annoying but it works
|
|
|
Post by Moongaze on Nov 8, 2008 21:02:54 GMT -5
I'll probably store the pet names if people would like.
|
|
|
Post by cidhighwind on Nov 21, 2008 2:24:34 GMT -5
For some reason if you use <spell> for a throwable item it adds "throw" already, which wouldn't be so bad but in german the word for it comes afterwards and making a good line then is likely impossible. (e.g. "I'm throwing <spell> to <target>!" will result in "I'm throwing <Throw Paperplane> to <target>!")
|
|
|
Post by Moongaze on Nov 21, 2008 4:13:38 GMT -5
Well, when you use an item, it casts a spell. The spell for that one, and a few others, is simply "Throw *item*" ... instead of just the item name. That's how LS hooks into the spell casting, via the spell name itself. I don't think there is a way to find out if an item is being used ... but I can check
|
|
|
Post by Maerynn on Dec 4, 2008 22:42:09 GMT -5
Well i'd like the pet names to be stored, been searching for hours to find how to make the add-on say the right name.
By the way, wonderful add-on, it's a shame you don't put it on Curse.com, you would share it with more people.
Maerynn
|
|
|
Post by Moongaze on Dec 5, 2008 1:39:44 GMT -5
I plan for it to be one Curse, WowUI, and WowInterface when it's finished to the point of being a public release. With some of the issues and features not working in LS right now, I would feel bad if people downloaded it on another site and gave up on it because they didn't know it was "not finished." I'm shocked about how many people drop by this forum every day (used to be 50-90 users in 24 hours, if I was lucky ... now it won't drop below 700 =). There is also the download counts on the files, which is quite large for not being on a major site.
Back to the topic, I'll be adding the pet name database at some point for you pet users. It's just ... not on the top of my list right now. But, it's on there! =)
|
|
|
Post by dabignob on Dec 7, 2008 13:11:27 GMT -5
I failed to find a list of all(or any) Speech Tab commands. Currently I know: <player> = displays your name. <target> = displays the name(%t) of your current target. <focus> = displays the name(%f) of your current focus target. <mount> = displays the name of the mount you are about to use. <emote> = uses the line like /me command. <raid> = following string in raidchat (/ra) <party> = following string in partychat (/p) <say> = following string will be said (/s) <yell> = following string will be yelled (/y) <newline> = following text will be in a new line That's all by now, feel free to add if I missed some. [[Still waiting for: <pet>, displays the name of your pet which is summoned/being summoned.(hunter/warlockpets, probably also shadowghost/treants/...) <petpet> displays your pets name (e.g. Lurky, Mojo, Siamcat,...) <spell> Current spell/item used (e.g. Throwing leather ball to <target>).]]Is there a way to add an item that was clicked in my bag to a speech command? Is this considered a target? I just want to be able to tell my party or raid what item it is that's being disenchanted. So, when I click disenchant and then click on the item, I just want it to send out a /raid or /p that says "<item name> is being disenchanted. Hope you didn't need it because it's too late now!" Is there a way to do this in LS or in macros in general?
|
|