Author Topic: onMinigameHealth  (Read 326 times)

onMinigameHealth would be an event that detects a player's health (similar to onMinigameDeath) and if it is above, below or at a certain health level it would do the event.

Like:
  [onMinigameHealth] (number) (above boolean) (below boolean) > [Player]/[Minigame]/[Client] > [whatever you want it to do]

Or:                              (V combining both will make it detect if it's at a specific level)
  [onMinigameHealth] (50) (X) (X) > [Client] > [centerPrint] (Your health is at 50%!)
« Last Edit: November 24, 2010, 08:47:12 AM by Altered »

Dosn't seem hard to do.
I'd just make a script that cycles though everyone's health a few times a second, and if someone's health is below the set level, it activates that event.

or with this idea, you could use VCE to check their health every so often