Actions Based On Target HP

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Spellcast Scripting » Black Mage » Actions based on Target HP
Actions based on Target HP
 Bismarck.Kyaaadaa
Offline
Server: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-01 23:54:59
Link | Quote | Reply
 
Is there a way to script actions based on targets' HP percentages? I'm spit balling from other scripts based on MY HP%, but have nothing to compare to for this. My goal is: if mob HP% > x% <command>whatever</command>.
 Bismarck.Kyaaadaa
Offline
Server: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-02 02:54:21
Link | Quote | Reply
 
da bump
 Ragnarok.Martel
Offline
Server: Ragnarok
Game: FFXI
Posts: 2894
By Ragnarok.Martel 2014-03-02 07:23:03
Link | Quote | Reply
 
Are you wanting this to act automatically when the mobs hp changes to within the specified % range? Or would you hit a trigger then have it react based on mob HPP?

Would probably be useful to know what you wanted this to do.
 Asura.Gabba
Offline
Server: Asura
Game: FFXI
user: Aikawa
Posts: 86
By Asura.Gabba 2014-03-02 07:37:56
Link | Quote | Reply
 
Automatic aka bot... no or using a bot..
Replace your action depending on HPP... yea
 Quetzalcoatl.Gencay
Offline
Server: Quetzalcoatl
Game: FFXI
user: Gencay
Posts: 417
By Quetzalcoatl.Gencay 2014-03-02 12:00:13
Link | Quote | Reply
 
i thought this was a FF12 thread for a minute >.>
[+]
 Bismarck.Kyaaadaa
Offline
Server: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-04 22:40:52
Link | Quote | Reply
 
Ragnarok.Martel said: »
Are you wanting this to act automatically when the mobs hp changes to within the specified % range? Or would you hit a trigger then have it react based on mob HPP?

Would probably be useful to know what you wanted this to do.
Performing an action when a target mob's HP drops below a certain number is the real goal. I know that <if MPPLT="10"> or <if HPPLT="75"> work for MY hit point and MP %, but don't know the code for a target's.
Offline
Posts: 1018
By kenshynofshiva 2014-03-05 09:22:09
Link | Quote | Reply
 
Something like GT/LT in percentage:

<if SpellTargetHPPGT="98">
<changespell Spell="Cure" />
</if>
 Bismarck.Kyaaadaa
Offline
Server: Bismarck
Game: FFXI
user: Kyaaadaa
Posts: 585
By Bismarck.Kyaaadaa 2014-03-08 20:19:11
Link | Quote | Reply
 
aha, i was trying <if TargetHPPLT="x"/> rather than SpellTargetHPPLT. That'll do, pig. Thanks much!
Log in to post.