![]() |
#1 |
Health code help?
I need to add in a piece of code into the game wherein if the player is below 80 health he loses one point of health every few seconds. How would I go about doing this?
![]()
__________________
Open Maw Productions |
|
![]() |
![]() |
#2 | |
Re: Health code help?
Quote:
Code:
actor APLAYER MAXPLAYERHEALTH PSTAND 0 0 ifphealthl 80 ifcount 78 { resetcount addphealth -1 palfrom 20 48 sound DUKE_HARTBEAT ifrnd 64 spawn BLOODPOOL }
__________________
DUKE PLUS New map effects and various optional extras for Duke 3D. DUKE NUKEM: ATTRITION XP based weapon upgrades, progressive difficulty, and more. |
||
![]() |
Bookmarks |
|
|