Jump to content
Sign in to follow this  
stanerzz

A3 SUV Police Lights

Recommended Posts

Hi guys just a quick one, I have been trying to find how to add action and add police lights to my SUV's on my life server.

So far i cannot find one script anywhere so if someone knows of one i will love you forever if you can let me know.

Thanks Guys

Share this post


Link to post
Share on other sites

But.... It is already in there? If you press Shift+L they will turn on.

Share this post


Link to post
Share on other sites

Do you have the latest version of Altis Life?

Share this post


Link to post
Share on other sites

I believe so... what is the latest ? if possible could you link it for me,

Thanks man

---------- Post added at 23:24 ---------- Previous post was at 22:14 ----------

After being reassured by one of my members that we was using the latest version i still proceeded to look, only to find that we was on a really old version so i thank you for suggesting it or i would never of went to look

Share this post


Link to post
Share on other sites

You are welcome. Have fun with the lights :)

Share this post


Link to post
Share on other sites

LOL thanks, one thing i was contemplating was an add action onto the player but this seemed like a really bad idea when i tried it as the basted things would not turn off

Share this post


Link to post
Share on other sites

Well if you wanted a setup like that then you could do something like this:

while true do {
say3D"sirenlong";
};

And then when the siren is active, remove the "turn siren on" action and add the "turn siren off" action.

Share this post


Link to post
Share on other sites

That is a very good idea ! i don't know why this did not cross my mind ;)

Share this post


Link to post
Share on other sites

Well, actually, I might create a script that works with the addAction and publish it somewhere.

I have my own Altis Life test server using the arma3server.exe anyways so.... :)

Share this post


Link to post
Share on other sites

that's would be fantastic, im currently at college but i will try make some time to type a script up tonight see what i can get going :)

Share this post


Link to post
Share on other sites

I will do the same :) Would be fun to see what we both come up with ;)

---------- Post added at 12:58 ---------- Previous post was at 12:47 ----------

I will give you a headstart xD

here is the code that you will need in order for the lights to show up. just wrap an addaction around it. should work.

Also try and find the executor of this script. Maybe some keyDown thing somewhere in a compile sqf.

/*
File: fn_sirenLights.sqf
Author: Bryan "Tonic" Boardwine

Description:
Lets play a game! Can you guess what it does? I have faith in you, if you can't
then you have failed me and therefor I lose all faith in humanity.. No pressure.
*/
private["_vehicle"];
_vehicle = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;
if(isNull _vehicle) exitWith {}; //Bad entry!
if(!(typeOf _vehicle in ["C_Offroad_01_F","B_MRAP_01_F","C_SUV_01_F"])) exitWith {}; //Last chance check to prevent something from defying humanity and creating a monster.

_trueorfalse = _vehicle getVariable["lights",FALSE];

if(_trueorfalse) then {
_vehicle setVariable["lights",FALSE,TRUE];
} else {
_vehicle setVariable["lights",TRUE,TRUE];
[[_vehicle,0.22],"life_fnc_copLights",true,false] call life_fnc_MP;
};

Share this post


Link to post
Share on other sites

Random question on this, the strobe lights on the Speedboat police, is it possible to add those to the SUV via. scripts? As they already exist.

Share this post


Link to post
Share on other sites

If it is scripts that give the strobe light functionality, then yes. It will probably be possible to make. But you will need scripting knowledge for that.

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  

×