• Setting Player's HP
    6 replies, posted
Is there a way to set the players's HP when they spawn? Like, for example: The player starting with 40 health instead of 100.
A trigger_hurt that does the amount of damage you need, but only fires once. Place it where the player spawns.
I can't test this right now, but you could have a logic_auto. Onmapspwn>!player>sethealth>40 That's the output for it. [editline]05:58PM[/editline] If that doesn't work you could do coolcorky's idea.
Thanks
[QUOTE=Firegod522;20924972]I can't test this right now, but you could have a logic_auto. Onmapspwn>!player>sethealth>40 That's the output for it. [editline]05:58PM[/editline] If that doesn't work you could do coolcorky's idea.[/QUOTE] I don't claim to know anything about logic_auto or anything like that, but doesn't ! mean not? So you are saying what is not the player set the health to 40? Sorry for my lack of understanding of this, i'm just confused.
No it doesn't. [url]http://developer.valvesoftware.com/wiki/!player#Keywords[/url]
Ah. targetnames != code.
Sorry, you need to Log In to post a reply to this thread.