Hello folks,
I've made this little script to enhance an mp mission which is all about flying in the air..
#start
AAfire = 1
_c = 1
_color = [[0,0,0,0.85],[0,0,0,0.9],[0,0,0,0.4], [0, 0, 0,0]]
_size = [10,30]
_lifetime = 60
_timer = 60
_vel = [1,1,1]
_plane = _this select 0
_AApos = _this select 1
#loop
?!(alive _plane): exit
?_plane distance _AApos > 650: AAfire = 0; exit
~random(1)+0.2
_bearing = random(360)
_distance = random(40)+50
_ypos = (getpos _plane select 2) + (random(25)-random(25))
?(local server): _shell1 = "mortarshell" createvehicle [(getpos _plane select 0) + sin (getdir
_plane + _bearing) * _distance, (getpos _plane select 1) + cos (getdir _plane + _bearing) * _distance, _ypos]
_pos = getpos _shell1
_x = _pos select 0
_y = _pos select 1
_z = _pos select 2
drop ["cl_basic", "", "Billboard", _lifetime, _timer, [_x, _y, _z], _vel, 0, 0.2, 0.157, 1, _size, _color, [0], 0, 0, "", "", ""]
?(local server): _shell11 = "mortarshell" createvehicle [getpos _shell1 select 0,getpos _shell1 select 1,(getpos _shell1 select 2)]
_bearing = 0
_distance = 0
goto "loop"
Works like a charm for me but now for the others connected to a game hosted by me!
They say it gives a "genric error" from the drop command, but I don't see it.
Thus I can see the drop created little smoke cloud, but the others can't which isn't funny
Why?