How do I send a message to any "nearby players" with job abilities? :V Example: Whitemage casts Cure. /n Target recovers 32 HP.
I've been trying to script Curing Waltz I-IV and Divine Waltz. I've tried using player:messageBasic(306,190,final);, but the message ends up with two issues:
- Uses caster's name for <player> and <target>
- Message only displays to caster
I'm guessing the latter is because I'm using player:messageBasic, and I'm not sure what subject I can use to invoke messageBasic.
The former, I'm not as sure about. There are other message IDs, but many aren't applicable, and have the same issue.
102 -- Seems to work like 306, not sure why I skipped it.
103 -- WSs.
122 -- Self only.
238 -- WSs.
318 -- Seems to work like 306
I'm guessing that the animations are a packet issue, which is even further beyond my grasp. I'd like to at least offer the scripts for now, since they account for Waltz potency and other factors, and should be relatively complete, but it's just sloppy to use scripts that aren't handling messages properly.
And if I'm wrong about the animations, and we just have to find the ID... well, point me in the right direction and I guess I just reboot my Game_server a ton until I find the animations. :V
/JA Scripting Question
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
/JA Scripting Question
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
-
- Developer
- Posts: 707
- Joined: Sun Jul 22, 2012 12:11 am
Re: /JA Scripting Question
For proper message handling, dancer abilities will need to have a basic framework implemented in the core. Using the LUA functions, you can only send messages to one specific entity (usually the player).
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: /JA Scripting Question
Bummer.
Well, I also discovered that using /ja skips the check for TP and shared recast that the menus normally enforce, so these definitely would be imbalanced if I offered them, regardless.
Well, I also discovered that using /ja skips the check for TP and shared recast that the menus normally enforce, so these definitely would be imbalanced if I offered them, regardless.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.