RHS Feedback - USAF
View Issue Details
0005414USAFGeneralpublic2019-12-16 23:342020-02-06 21:37
sahran 
reyhard 
nonetrivialunable to reproduce
closedno change required 
 
 
Yes
Stable
1.96
No
0005414: firing nuclear projectile
i tried to make a MX shoot a nuke both with the nuke truck and the tu-95

(nuke truck didnt work)
player addeventhandler ["fired", {_bullet = (_this select 6); if (_Bullet isKindOf "B_65x39_Caseless") then {_shell = "RHS_9M79B" createVehicle [(getPos _bullet select 0), (getPos _bullet select 1), (getPos _bullet select 2)]; _shell attachto [_bullet,[0,10,0]]; detach _shell; _shell setVelocity [(velocity _bullet select 0), (velocity _bullet select 1), (velocity _bullet select 2)]; deleteVehicle _bullet;};}];




(tu-95 didnt work)
player addeventhandler ["fired", {_bullet = (_this select 6); if (_Bullet isKindOf "B_65x39_Caseless") then {_shell = "rhs_ammo_kh55sm" createVehicle [(getPos _bullet select 0), (getPos _bullet select 1), (getPos _bullet select 2)]; _shell attachto [_bullet,[0,10,0]]; detach _shell; _shell setVelocity [(velocity _bullet select 0), (velocity _bullet select 1), (velocity _bullet select 2)]; deleteVehicle _bullet;};}];


i tried different methods and all but got nothing to work.
maybe this could help you help me
_lp = getpos player;
_lp = [(_lp select 0)+800, _lp select 1, 0];
_payload = round(random 600) max 400;
[_lp, _payload] call RHS_fnc_ss21_nuke;

i found the payload but still don't know how to shoot it
No tags attached.
Issue History
2019-12-16 23:34sahranNew Issue
2019-12-16 23:44sahranReproducibilityN/A => unable to reproduce
2019-12-16 23:51sahranNote Added: 0010166
2019-12-16 23:51sahranSummaryTfiring nucllear projectile => firing nuclear projectile
2020-02-06 21:37reyhardNote Added: 0010280
2020-02-06 21:37reyhardStatusnew => closed
2020-02-06 21:37reyhardAssigned To => reyhard
2020-02-06 21:37reyhardResolutionopen => no change required

Notes
(0010166)
sahran   
2019-12-16 23:51   
Just fixing misspelled words
(0010280)
reyhard   
2020-02-06 21:37   
nukes are scripted - you have to launch those scripts tied to it together with explosion. Only rhs_ammo_3WB3 is using non scripted solution (since it has much smaller warhead)