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

Problem with jam smoke grenade

Recommended Posts

Hi, I´m starting  a mission kind of CQB and I intend to use no JAM soldiers nor Weapons except their Smoke grenade that, like they say, do block the AI´s view.

Problem 1: I could not find the editor name of JAM´s smoke grenade

Problem 2: With JAM readme pdf file in hands, I could still not find the Smoke Grenade name and neither can´t make default BIS ones work like they say.

I copied and pasted the init line---->     this addEventHandler [“Firedâ€,{if ( (_this select 1 in

[{Throw},{JAM_AT4Launcher}, {JAM_RPG7Launcher},

{JAM_M72LAWLauncher}]) or (_this select 4 in

[{JAM_MarkerGrenadeammo}]) ) then {_this exec

“\JAM_Magazines\FX\firedEH.sqsâ€}}]      in the desired soldier but when I click OK I receive "Invalid number in expression" error message.

Anyone could help me?

Does this smoke really works? I mean AI´s can´t really see me through it? I tried with some JAM soldiers and sometimes they fire and hit me.

Thnx

Share this post


Link to post
Share on other sites

called with a fired eventhandler and smoeshell/smokeshellred/smokeshellgreen et..etc..

Share this post


Link to post
Share on other sites

Well, ok maybe this is the way it should work, I really am a foul in editing stuff, anyway I did just as readme says and it doesn´t work. Just as a testI tried to call just the script ( puting this exec

“\JAM_Magazines\FX\firedEH.sqs†on a oficer init line and stil receive the same error message.

I also did some more tests with JAM units and AI keep hiting me even not seeing me.

Share this post


Link to post
Share on other sites

I usually use a fired eventhandler and

_this exec "\JAM_Magazines\fx\man_popSmoke.sqs"

Share this post


Link to post
Share on other sites

unitname addEventHandler ["Fired",{if (_this select 4 in ["SmokeShell","SmokeShellRed","SmokeShellGreen"]) then {_this exec "\JAM_Magazines\FX\man_popSmoke.sqs"}}]

Share this post


Link to post
Share on other sites

Thanks man!!! anyway it seems to work now but its something you can´t trust 100%, maybe ´cause when the AI leader detects you it passes the target to another soldier and it seem to shoot you even when not seeing you, Am I right?

Share this post


Link to post
Share on other sites

yeh, ut U cant trust real smoke grenades anyway

Share this post


Link to post
Share on other sites

Harkonin -

Could this be added to an INIT.sqs so that it would parse to all players?

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  

×