Constant health drop

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
dude77
Corporal
Posts: 49
Joined: Tue Sep 01, 2009 8:37 pm

Constant health drop

Post by dude77 »

hey
i was wondering if there is anyway to stop enemies from dropping health bottles when they die because it makes my missions too easy and its really annoying!!
Smithy
Corporal
Posts: 46
Joined: Fri Aug 18, 2006 8:54 pm
Location: United Kingdom

Re: Constant health drop

Post by Smithy »

(This should be in scripting)

Code: Select all

level.nodrophealth = 1  
Put that in your code between level waittill prespawn and
level waittill spawn.

And if you don't want them to drop weapons:

Code: Select all

level.nodropweapons = 1 

Then in the editor, if you want specific enemies to drop health you put in their properties:

Key: #drophealth

Value: 1

and for guns

Key: #dropgun

Value: 1
User avatar
dude77
Corporal
Posts: 49
Joined: Tue Sep 01, 2009 8:37 pm

Post by dude77 »

thanks they dont drop health anymore, but they still drop their weapons!?
any idea why?
Smithy
Corporal
Posts: 46
Joined: Fri Aug 18, 2006 8:54 pm
Location: United Kingdom

Post by Smithy »

I've noticed the dropweapons code only works for spawners, not sure why.

Try dontdropweapons into their key, and pressing space twice (don't enter a value)
User avatar
dude77
Corporal
Posts: 49
Joined: Tue Sep 01, 2009 8:37 pm

Post by dude77 »

they still drop ammo :evil:
Post Reply