Jump to content
johnnyboy

[Release] JBOY Patrol Chatter and Lights On/Off scripts

Recommended Posts

Yet more great scripts from johnnyboy. These will be very handy as I get into jungle warfare again

 

I'm impressed both by the implementation and the creativity of the concepts (birds of prey is a brilliant example).

 

Thank you for sharing :)

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, WarhammerActual said:

Great work and idea...... Is this script MP compatible?

Thanks WA.  Yes, it is MP compatible.

Share this post


Link to post
Share on other sites

Really cool. I like it.

Did you get attacked by a bird at the end of vid? 

Share this post


Link to post
Share on other sites

Can i  make it work with alive

Share this post


Link to post
Share on other sites
2 hours ago, dr death jm said:

Really cool. I like it.

Thanks, glad you like it.

 

2 hours ago, dr death jm said:

Did you get attacked by a bird at the end of vid? 

Is that possible in ARMA?  :)

 

1 hour ago, loopdk said:

Can i  make it work with alive

I don't use Alive so I have no idea.  Its a simple script though, so it should work.

 

Share this post


Link to post
Share on other sites
2 hours ago, WarhammerActual said:

J-B I just implemented this scirpt into a mission and ........ It's great. Solid work man A++

Glad to hear it sir.  Post a link here to your mission if you publish it.  I'd love to try it out!

Share this post


Link to post
Share on other sites

thanks for the hint man, will absolutely add this!

Share this post


Link to post
Share on other sites

quick question...

i would like to add this to all AI that are generated by my script, however, as they have randomized loadouts, not all will have flashlights mounted to their guns

 

if it is daytime or if it is nighttime but an AI has no flashlight equipped, would it just not execute the lightson command?

 

to me that would be fine, if it produces an error, i would try to add some more conditions.

 

again, the scripts sound very cool and sorry for asking before even testing it myself!

 

cheers vd

 

 

Share this post


Link to post
Share on other sites
17 minutes ago, Vandeanson said:

quick question...

i would like to add this to all AI that are generated by my script, however, as they have randomized loadouts, not all will have flashlights mounted to their guns

 

if it is daytime or if it is nighttime but an AI has no flashlight equipped, would it just not execute the lightson command?

 

to me that would be fine, if it produces an error, i would try to add some more conditions.

 

again, the scripts sound very cool and sorry for asking before even testing it myself!

 

cheers vd

 

 

I'll add a check to exit script if unit has no light attached to their weapon.  But I don't think it throws an error, or I would have noticed it in my Property of Mabunga mission where all pirates are running this script.

 

isFlashlightOn

  • Thanks 1

Share this post


Link to post
Share on other sites

Still a wery good scipt.

 

can you add the code so flashlights only are on in the dark :D

 

plz :D

Share this post


Link to post
Share on other sites
6 minutes ago, loopdk said:

can you add the code so flashlights only are on in the dark :D

 

This is an example on how to do this  , as there is in my environment scripts :

 

Spoiler

 

 

 

[] spawn {
	while {true} do {
	
	//________________	daytime and nighttime	________________
	
	if ((date select 3) < 6 or (date select 3) > 19) then {
      
      //________________	nighttime	________________
      hintsilent "nightime";	
      //code
      
    }else{
      
      //________________	daytime	________________
      hintsilent "daytime";
      //code
      
		};
	};
};

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Just add your code to  JBOY_LightsOnOff.sqf rigt?

Share this post


Link to post
Share on other sites
6 hours ago, loopdk said:

can you add the code so flashlights only are on in the dark :D

Good idea loopdk!  The script in top post is now updated so they only turn on flashlight if time is < 6 or > 19.

 

Thanks to @GEORGE FLOROS GR  for the solution.

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites
1 hour ago, GEORGE FLOROS GR said:

# Basically , if you don't mind , i would like to add also a similar script to my collection  ! :thanx:

No problem.  Use anything you like.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
3 hours ago, johnnyboy said:

Use anything you like.

 

It's all about sharing and caring !

Thanks johnnyboy !

  • Like 2

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

×