Jump to content
Sign in to follow this  
MoDzErKA

Help me to change the horn plz

Recommended Posts

I 'd like to change the horn of hunter because I have already changed the siren but I do not how to change the horn I need help plz

Share this post


Link to post
Share on other sites

Use this code (launch it on server):

_horn = _hunter currentWeaponTurret [-1];

_hunter removeWeaponTurret [_horn, [-1]];

_hunter addWeaponTurret ["SportCarHorn", [-1]];

P. S.

This forum is not for Arma 3.

Share this post


Link to post
Share on other sites

thx you

---------- Post added at 12:17 ---------- Previous post was at 11:49 ----------

how does it to start at boot time because I made a Horn.sqf file and I added in init.sqf

[] execVM "Horn.sqf";

but its still not working

Share this post


Link to post
Share on other sites

The Variable "_hunter" in the Script has to point to the Vehicle You want the "weapon" horn to be changed.

//someScript
private "_hunter";
_hunter = "B_Hunter_F" createVehicle (position player);
_hunter execVM "Horn.sqf";

Or add this in the Vehicle init:

this execVM "Horn.sqf";

//Horn.sqf
private ["_horn", "_hunter"];
_hunter = _this;

_horn = _hunter currentWeaponTurret [-1];

_hunter removeWeaponTurret [_horn, [-1]];

_hunter addWeaponTurret ["SportCarHorn", [-1]];

Greez KiloSwiss

Edited by KiloSwiss

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  

×