enemies weapon drop?

Hello.
I has been reading a weapon tutorial,about take weapons found in ground. I ask if when an enemy comes is possible take his weapon,when he is hit drop his weapon and then you take,not when the enemy found a weapon in ground and he takes it. or even if he can drop items.
thanks.
 
Taking enemy's weapon is only possible if the enemy is:
1. weaponless enemy and starts with weapon on spawn.
2. weapon enemy and transforms into weaponless enemy when attacked.

I'm going to assume you want #1.
Do you know how to give weapons to players?
 
I assume you know how to set weapon system then :) .

In order to have enemy spawns with weapon in hand, you'd need to declare extra command like in this example:
Code:
spawn    Williams
health    120
map    2
weapon    KnifeW # this is the command
coords    218 195
at    400

weapon command defines which weapon item Williams will hold in hand when he is spawned in.
 
Back
Top Bottom