Anvil, on 23 July 2014 - 09:44 AM, said:
I need a code that will cause every level in an episode to start with only 48 bullets of pistol and 100 health.
This should work:
onevent EVENT_RESETPLAYER setplayer[THISACTOR].ammo_amount PISTOL_WEAPON 48 setplayer[THISACTOR].ammo_amount SHOTGUN_WEAPON 0 setplayer[THISACTOR].ammo_amount CHAINGUN_WEAPON 0 setplayer[THISACTOR].ammo_amount RPG_WEAPON 0 setplayer[THISACTOR].ammo_amount HANDBOMB_WEAPON 0 setplayer[THISACTOR].ammo_amount SHRINKER_WEAPON 0 setplayer[THISACTOR].ammo_amount GROW_WEAPON 0 setplayer[THISACTOR].ammo_amount DEVISTATOR_WEAPON 0 setplayer[THISACTOR].ammo_amount TRIPBOMB_WEAPON 0 setplayer[THISACTOR].ammo_amount FREEZE_WEAPON 0 setplayer[THISACTOR].gotweapon SHOTGUN_WEAPON 0 setplayer[THISACTOR].gotweapon CHAINGUN_WEAPON 0 setplayer[THISACTOR].gotweapon RPG_WEAPON 0 setplayer[THISACTOR].gotweapon HANDBOMB_WEAPON 0 setplayer[THISACTOR].gotweapon SHRINKER_WEAPON 0 setplayer[THISACTOR].gotweapon GROW_WEAPON 0 setplayer[THISACTOR].gotweapon DEVISTATOR_WEAPON 0 setplayer[THISACTOR].gotweapon TRIPBOMB_WEAPON 0 setplayer[THISACTOR].gotweapon FREEZE_WEAPON 0 setplayer[THISACTOR].last_extra 100 endevent

Help
Duke4.net
DNF #1
Duke 3D #1


