I don't really understand your purpose, but you can always use a cvar or
do some sort of calculation.

Thanks Again ---
--- Robert I Chatman III
--- www.swallowbush.com
--- [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kamran
Sent: Sunday, July 17, 2005 12:31 PM
To: HLCoders
Subject: [hlcoders] GetMaxHealth

For SP, I've successfully been able to change the player's health level
to 200 using my own function... however, this isn't very good because
most items that give health use the GetMaxHealth function which seems to
be able to be used for NPCs, not just the player.

Is there a way to override the player's max health to be a different
number other than by manually setting it in the HL2Player::Spawn
function? Otherwise I will have to create some new health items that
restore the user's health.
--
Kamran A
Get Firefox! Safer, Faster, Better.
<http://www.spreadfirefox.com/?q=affiliates&id=0&t=85>
Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to