Hammerwatch Forum

Custom mapping and Mods => Editor Discussion => Topic started by: KptnKook on August 28, 2013, 06:27:48 PM

Title: activate backwards hp regen. namely poison player
Post by: KptnKook on August 28, 2013, 06:27:48 PM
How can I determine, if a player is hit by an enemy? or how can i activate the backwards hp regeneration effect on one player, after he got hit by a predefined "poisonous" enemy?

i did not manage to beat the game until now... are there poisonous enemies, which i can look into?
Title: Re: activate backwards hp regen. namely poison player
Post by: Linaru on August 28, 2013, 07:22:46 PM
there are no status effects for players at this time but myran has been working on adding them. as things stand there is no way to drain a players health with a mob attack
Title: Re: activate backwards hp regen. namely poison player
Post by: KptnKook on August 28, 2013, 09:03:42 PM
okay..

i'm wondering if there is any way whatsoever to drain a specific players hp. i've put up a timertrigger, which is triggered by an globalflag. if "a player" is standing inside circleshape during a specific period of time, this globalflag gets triggered.

how can i now define, that the effects triggered go only to this specific player, which activated the globalflag?

or in other words, how can i differ between the players?
Title: Re: activate backwards hp regen. namely poison player
Post by: Linaru on August 29, 2013, 09:57:41 AM
okay..

i'm wondering if there is any way whatsoever to drain a specific players hp. i've put up a timertrigger, which is triggered by an globalflag. if "a player" is standing inside circleshape during a specific period of time, this globalflag gets triggered.

how can i now define, that the effects triggered go only to this specific player, which activated the globalflag?

or in other words, how can i differ between the players?

currently the games engine has no system at all to differ between players,
 i hope this wil change in future patchs because it also means all players are teleported to the same spot at the same time with other scripts