Solex_nl
Member-
Content Count
7 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout Solex_nl
-
Rank
Rookie
-
Trigger a flare
Solex_nl replied to jw custom's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
http://www.armaholic.com/brazil/editing/scripts/Flare.utes.rar example mission for a basic flare trigger (all 4 colors) -
Keep Standing
Solex_nl replied to frattonstation's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
http://www.armaholic.com/page.php?id=1801 Make the unit keep standing: Code: this setunitpos "up" ---------------------------------------------------------- Make the unit crouch: Code: this setunitpos "middle" ---------------------------------------------------------- Make the unit keep proning: Code: this setunitpos "down" ---------------------------------------------------------- Make a unit stand still: Code: dostop this or Code: this disableAI "MOVE" -
Making a ZU-23 fire at the sky
Solex_nl replied to Recoilless's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
[aagun1, trigger1, 250, 1000] exec "flak.sqs" Yep the above is what I have. Bedtime now, ill be back on friday. :Thanks!: -
Making a ZU-23 fire at the sky
Solex_nl replied to Recoilless's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
; **************************************************************** ; Script file for Armed Assault ; Updated for Arma 2 Zu-23 by Recoilless ; Created by: SUPR3ME KILL3R ; Thanks to Arma Edit ; **************************************************************** _K = _this select 0 _Target = _this select 1 _radius = _this select 2 _altitude = _this select 3 #Flakloop _a= getpos _Target select 0 _b= getpos _Target select 1 _c= getpos _Target select 2 _gap=random _radius _direction=random 360 _x = _a +((cos _direction)*_gap) _y = _b +((sin _direction)*_gap) _z = _c + _altitude - _radius + random (_radius*2) _gap2=random _radius _direction2=random 360 _xx = _a +((cos _direction2)*_gap2) _yy = _b +((sin _direction2)*_gap2) _zz =_c + _altitude - _radius + random (_radius*2) _gap3=random _radius _direction3=random 360 _xxx = _a +((cos _direction3)*_gap3) _yyy = _b +((sin _direction3)*_gap3) _zzz = _c + _altitude - _radius + random (_radius*2) _gap4=random _radius _direction4=random 360 _xxxx = _a +((cos _direction4)*_gap4) _yyyy = _b +((sin _direction4)*_gap4) _zzzz = _c + _altitude - _radius + random (_radius*2) _K disableAI "Target" _K disableAI "AutoTarget" _K doWatch [_x,_y,_z] ~0.5 _K setVehicleAmmo 1 _K fire (weapons _K select 0) _K doWatch [_xx,_yy,_zz] ~0.5 _K fire (weapons _K select 0) _K doWatch [_xxx,_yyy,_zzz] ~0.5 _K fire (weapons _K select 0) _K doWatch [_xxxx,_yyyy,_zzzz] ~2 goto "Flakloop" exit This one copies from my SQS -
Making a ZU-23 fire at the sky
Solex_nl replied to Recoilless's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks! It shoots for me, but not up in the air. The friendly units around my AA are not safe :eek: -
how to: AI throwing Red Smoke grenades..?
Solex_nl replied to Solex_nl's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It works! Thank you -
how to: AI throwing Red Smoke grenades..?
Solex_nl posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello all! I have a question about how to make the AI throw a smoke grenade. <Asked it also on the Armaholic forum but they don't know (yet)> http://www.armaholic.com/forums.php?m=posts&q=6852&n=last#bottom anyway, I have a pilot named PilotAI with a red smoke handgrenade and making him walk, on one of his waypoints: PilotAI fire ["throw","SmokeShellRed","SmokeShellRed"] That doesnt work. PilotAI fire "SmokeShellRedMuzzle" Doesnt work either. Does anybody know how to get it to work? Thanks Alex.