Trooper Dan, on 05 May 2016 - 01:32 AM, said:
onevent EVENT_ENTERLEVEL ifg VOLUME 0 ifn sector[].floorpicnum HURTRAIL { setactor[THISACTOR].extra MAXPLAYERHEALTH setplayer[THISACTOR].gotweapon PISTOL_WEAPON 1 setplayer[THISACTOR].ammo_amount PISTOL_WEAPON 48 setplayer[THISACTOR].gotweapon SHOTGUN_WEAPON 0 setplayer[THISACTOR].ammo_amount SHOTGUN_WEAPON 0 setplayer[THISACTOR].gotweapon CHAINGUN_WEAPON 0 setplayer[THISACTOR].ammo_amount CHAINGUN_WEAPON 0 setplayer[THISACTOR].gotweapon RPG_WEAPON 0 setplayer[THISACTOR].ammo_amount RPG_WEAPON 0 setplayer[THISACTOR].gotweapon HANDBOMB_WEAPON 0 setplayer[THISACTOR].ammo_amount HANDBOMB_WEAPON 0 setplayer[THISACTOR].gotweapon SHRINKER_WEAPON 0 setplayer[THISACTOR].ammo_amount SHRINKER_WEAPON 0 setplayer[THISACTOR].gotweapon DEVISTATOR_WEAPON 0 setplayer[THISACTOR].ammo_amount DEVISTATOR_WEAPON 0 setplayer[THISACTOR].gotweapon TRIPBOMB_WEAPON 0 setplayer[THISACTOR].ammo_amount TRIPBOMB_WEAPON 0 setplayer[THISACTOR].gotweapon FREEZE_WEAPON 0 setplayer[THISACTOR].ammo_amount FREEZE_WEAPON 0 setplayer[THISACTOR].gotweapon GROW_WEAPON 0 setplayer[THISACTOR].ammo_amount GROW_WEAPON 0 setplayer[THISACTOR].shield_amount 0 setplayer[THISACTOR].firstaid_amount 0 setplayer[THISACTOR].holoduke_amount 0 setplayer[THISACTOR].jetpack_amount 0 setplayer[THISACTOR].heat_amount 0 setplayer[THISACTOR].scuba_amount 0 setplayer[THISACTOR].boot_amount 0 setplayer[THISACTOR].steroids_amount 0 setplayer[THISACTOR].curr_weapon PISTOL_WEAPON setplayer[THISACTOR].subweapon 0 setplayer[THISACTOR].inven_icon 0 } endevent
^I would start with that and then add exceptions to it if there are levels or episodes that don't require reset.
Just tried this code (without "ifg VOLUME 0") and got this error: "expected a keyword but found 'ifn' "