I have a question. I have an enemy and one gun. I have assigned the t_shooter_enemy script to the NPC, and the mgun-script to the gun. How do I assign the weapon to the NPC? Is that even possible?
I dont know the templates but i guess mgun-script is the player weapon script so u cant assign it to an enemy. Add a weapon to your enemy model in med, or add it by script to the bones fex
Code:
vec_for_bone
. Then modify your enemy-action(t_shooter_enemy) to fire at the player ( if it does not already fire at the player ). Have a look at
Code:
c_trace
greets
Last edited by rayp; 08/15/1212:07.
Acknex umgibt uns...zwischen Dir, mir, dem Stein dort... "Hey Griswold ... where u gonna put a tree that big ?" 1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected rayp.flags |= UNTOUCHABLE;
Re: Gunscript for enemy ?
[Re: rayp]
#406228 08/15/1213:3908/15/1213:39