Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
wizzywig

Drop problem

Recommended Posts

ok hi again im making a speed boat with nice animated turbos

ok have uploaded script

but my problem is that

1. Players can only see there own fire

2. I get an error with one of the drop lines

please can some one take a look at it for me as i cant fix it

thanks

jets.sqs

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Turbo=false

_fire = _this

_null = "scalar bool array string 0xfcffffef"

_pos1 = [+1.2,-2.7,0.1]

_pos2 = [-0.1,-2.7,0.1]

_color = [[1,1,1,0],[1,1,1,1],[1,1,1,0]]

_size = [0.5,1,0]

_lifetime = 1.5

_fire exec "\Wizboat\smoke.sqs"

~0.5

_fire exec "\Wizboat\sound.sqs"

#loop

_vel = [0, 0, 6]

drop ["cl_fire", "", "Billboard", _lifetime, _lifetime, _pos1, _vel, 0, 0.2, 0.157, 0.001, _size, _color, [0], 1, 0.2, "", "", _fire]

drop ["cl_fire", "", "Billboard", _lifetime, _lifetime, _pos2, _vel, 0, 0.2, 0.157, 0.001, _size, _color, [0], 1, 0.1, "", "", _fire]

~0.001

drop ["cl_fire", "", "Billboard", _lifetime, _lifetime, _pos1, _vel, 0, 0.2, 0.157, 0.001, _size, _color, [0], 1, 0.2, "", "", _fire]

drop ["cl_fire", "", "Billboard", _lifetime, _lifetime, _pos2, _vel, 0, 0.2, 0.157, 0.001, _size, _color, [0], 1, 0.1, "", "", _fire]

~0.001

?!Turbo && alive _fire: goto "loop"

exit

Share this post


Link to post
Share on other sites

And try changing this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_fire = _this

to:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_fire = _this select 0

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  

×