Jump to content
Sign in to follow this  
cervantes

shotgun bullect effect

Recommended Posts

hi all i search a add on my shotgun a shotgun script but this script Not working on arma

if one scriptor known this script One would welcome conesil.

in config cpp i write this

class EventHandlers

{

fired = [(Nearestobject [_this select 0,_this select 4])] exec "\abg_870\shotgun.sqs"

and a script has

_Bullet = _this select 0

(TypeOf _Bullet == "chevrotine")

_Bulletpos = getpos _Bullet;

_BulletSpeed = Velocity _Bullet;

_vx = _BulletSpeed select 0;

_vy = _BulletSpeed select 1;

_vz = _BulletSpeed select 2;

_Counter = 0

#begin

hint "glop";

_extbullet = "chevrotine" camcreate _Bulletpos;

_extbullet setvelocity [_vx + random 200 - random 200,_vy + random 200 - random 200,_vz + random 200 - random 200];

?(_Counter > 13) : exit

_Counter = _Counter + 1;

goto "begin"

if you have one idea for work this I would be happy to be able to adapt.

thanks you for read and helping wink_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×