SphereCommunity
Animals Health Bar - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Animals Health Bar (/Thread-Animals-Health-Bar)



Animals Health Bar - EOSCPM - 07-09-2015 10:55 PM

hi,

when a player dismount from a horse or different mounts i want to close all hitpoint/healt bars already opened.

how can i do this ?.

Thank you.


RE: Animals Health Bar - darksun84 - 07-09-2015 11:59 PM

While the status bar are handled by @UserStats there is no way to close them by scripts :\


RE: Animals Health Bar - EOSCPM - 07-10-2015 12:11 AM

is there any option in Sphere.ini ? may we can set range for this.


RE: Animals Health Bar - darksun84 - 07-10-2015 12:37 AM

Looks like no, why you need to close all status bar?


RE: Animals Health Bar - EOSCPM - 07-10-2015 04:39 PM

Cause some auto clicker programs clicking to mouse coordinates and when a player dismounted he can re mount quickly not self clicking with autoclickers.


RE: Animals Health Bar - dagger4k - 07-11-2015 06:24 PM

There is no use trying to stop this.... People can use the ID anyway >_< useless battle


RE: Animals Health Bar - XuN - 07-11-2015 06:54 PM

You can use @DisMount to set a tag.mounted=<serv.time>/10 and @Mount if (<serv.time> > <eval <tag.mounted>+3>) //3 should represent 3 seconds to mount after dismount, return 1, endif,tag.mounted //to clean the tag.

This will add a 3 seconds delay until you dismount and you can mount again, this is the very best method to do what you want. You can additionally revert the triggers to make a delay until you mount and you can dismount too. Very usefull for what you want.