Advertisement
icdb

[ArmA3] Rainbow colour texture

May 29th, 2020
1,437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.27 KB | None | 0 0
  1. while{true} do {
  2.   _alive = alive _target;
  3.   if(!_alive) exitwith {};
  4.   _color = format['#(rgb,8,8,3)color(%1,%2,%3,1)',random(1),random(1),random(1)];
  5.   [[_target,[_color,_color,_color,_color,_color]],"BIS_fnc_setObjectTexture",true,false] call BIS_fnc_MP;
  6.   sleep 1;
  7. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement