Advertisement
Traggered

T128495userActions

Nov 5th, 2024 (edited)
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             class siren_Start: beacons_start
  2.             {
  3.                 userActionID=52;
  4.                 displayName="$STR_A3_CfgVehicles_siren_on";
  5.                 displayNameDefault="<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\beacons_ON_ca.paa' size='2.5' />";
  6.                 condition="driver this == player AND {this animationPhase 'hidePolice' < 0.5} AND {getCustomSoundController [this,'CustomSoundController1'] < 0.5}";
  7.                 statement="[this,'CustomSoundController1',1,0.2] remoteExec ['BIS_fnc_setCustomSoundController', 0, ['CustomSoundController1', netID this] joinString ':'];";
  8.             };
  9.             class siren_stop: siren_Start
  10.             {
  11.                 userActionID=53;
  12.                 displayName="$STR_A3_CfgVehicles_siren_off";
  13.                 displayNameDefault="<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\beacons_OFF_ca.paa' size='2.5' />";
  14.                 condition="driver this == player AND {this animationPhase 'hidePolice' < 0.5} AND {getCustomSoundController [this,'CustomSoundController1'] > 0.5}";
  15.                 statement="[this,'CustomSoundController1',0,0.4] remoteExec ['BIS_fnc_setCustomSoundController', 0, ['CustomSoundController1', netID this] joinString ':'];";
  16.             };
Tags: Arma3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement