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

Unit says the revelations enemy units

Recommended Posts

Hello,

I am creating a mission of i44 mod. Do you need help with a script for sound.

My idea:

Western unit that detects enemy vehicle says Random warning (US_EnemyTank_01, US_EnemyPanther_02, US_EnemyPanther_03)

Group enemy vehicles for which this script should be:

I44_Tank_G_PzKpfwV_G_WH

I44_Tank_G_PzKpfwV_G_SS

I44_Tank_G_PzKpfwV_G_camo_WH

Thanks for the help!

[i]
//My unfinished script

_obj = _this select 0;

if (vehicle _obj!= _obj) exitWith {};

if (resistance countSide _ms == 0 and east countSide _ms == 0) exitWith {}; 

if ( _obj distance player < 100) then {Switch (floor (random 3)) do {

case 0: {_obj say "US_EnemyTank_01"};
case 1: {_obj say "US_EnemyPanther_02"};
case 2: {_obj say "US_EnemyPanther_03"};


}
};[/i]

Edited by TobiasRp

Share this post


Link to post
Share on other sites
Sign in to follow this  

×