Advertisement
Guest User

Untitled

a guest
May 28th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. if (isServer) then {
  2.  
  3. animateCiv = {
  4. private ["_civID", "_animationName"];
  5.  
  6. _civID = _this select 0;
  7. _animationName = _this select 1;
  8.  
  9. diag_log "test";
  10. diag_log _civID;
  11.  
  12. _civID switchmove _animationName;
  13. _animLoop = _civID addEventHandler ["AnimDone", {
  14. _civID switchMove _animationName;
  15. }];
  16.  
  17. _animationName;
  18. };
  19.  
  20. null = [civ1, "Acts_SittingWounded_loop"] call animateCiv;
  21. null = [civ2, "Acts_B_briefings"] call animateCiv;
  22. null = [civ3, "Acts_InjuredAngryRifle01"] call animateCiv;
  23. null = [civ4, "AmovPercMstpSnonWnonDnon_Scared2"] call animateCiv;
  24. null = [civ5, "Acts_B_M01_briefing"] call animateCiv;
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement