full health

WAR_Nuker

Newbie
Joined
Mar 29, 2005
Messages
627
Reaction score
0
i made a func_button with the output of:

on pressed
!activator
set health
100
0 seconds

works fine and all....but i want it so that people that already have a health of 100 cant use the button....only people with lower than 100 may be able to use the button. is this possible?
 
If their health is already 100 does it really matter?
 
no i just want it to be like if someones health is 100 they cant use the button....so that someone else that has lower health can use it instead. the button resets after 1 minute. i dont want it to be like 'that one guy with all the weapons and ammo constantly pressing the button so no one else can use it and everyone else is screwed cause they have no way of healing'. sounds a bit unfair and i want to prevent it.
 
Too bad there isn't a scripting language for source maps.
or is there?
Because that'd be my guess to the only way to do this
 
I kinda don't think that will be something that you'll need to worry about. In one minute the person that has all the guns and health will be dead.
 
yeah i guess....i was just concerned but 1 minute is a rather long time to survive.
 
I'm pretty sure there's no way to determine a player's health.
 
Back
Top