I can LClick only once
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
No, I'm afraid I don't. I have no idea what HP is.do you see what i'm trying to say?
If you have a value on the screen, a script may be able to read it into a variable. If it is real text then you should be able to use the Text Capture functions. If it is editable you could have the script copy it to the clipboard and then retrieve it into a variable. If it is represented by a graphic then perhaps you can use image recognition.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Hi Shimizoki and Marcus,
HP = Hit Points. Say a players character has 100 HP max. If it drops to 0, character dies. He wants to somehow monitor that value and if it drops below 20% of max, have the script automatically initiate some action to get some hit points back, i.e. have the script automatically type (or click or whatever is necessary) to have the character drink a healing potion.
Anyway, the key is in extracting your HP value. Marcus has given you advice on several ways you might do this, it depends on how the game makes this value known. What have you tried so far?
HP = Hit Points. Say a players character has 100 HP max. If it drops to 0, character dies. He wants to somehow monitor that value and if it drops below 20% of max, have the script automatically initiate some action to get some hit points back, i.e. have the script automatically type (or click or whatever is necessary) to have the character drink a healing potion.
Anyway, the key is in extracting your HP value. Marcus has given you advice on several ways you might do this, it depends on how the game makes this value known. What have you tried so far?
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -