//Generated by BehavEd
set ( /*@SET_TYPES*/ "SET_WEAPON", /*@[member='weaponx']_NAMES*/ "WP_BLASTER" );
set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "false" );
set ( /*@SET_TYPES*/ "SET_SHOT_SPACING", 1500 );
Here is a simple script you can use for any NPC. You can select their weapon, if you want them to use alt fire or not (set to true or false) and the shot spacing. That is as complicated as this is. You just muck about with the variables, like shot spacing. You can also set Aim, Aggression, vis range, hearing range, and more by adding them to the script. Then, give the NPC a spawnscript and a value (your script name) Key: Spawnscript Value: Script folder name/fire_rate_1500 ( name of folder script is in & script name) That's it. Its much easier to script stuff plus you get the added benefit of being able to do much more with that specific NPC. If you want, for example, your stormtrooper to shoot faster but crouch, you'll have to script the crouching anyhow.