Jump to content

CHINA Nothing

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About CHINA Nothing

  • Rank
    Rookie

Recent Profile Visitors

394 profile views
  1. CHINA Nothing

    How loop an animation ?

    @Larrow I am honored to point out Larrow the God 's little bug. Mickey executed the anim.sqf , and he gets a handler "AnimDone" performance which is "Do Salute again". So you observed Mickey salutes TWICE .not ONCE. (Because 2 anims are too close to differ ) After Mickey did the second Salute, the whole program is done. Nothing will happen . So you should add one line to make Mickey looply execute anim.sqf like this : params[ "_unit" ]; _unit switchMove "AmovPercMstpSrasWrflDnon_Salute"; _unit addEventHandler [ "AnimDone", { params[ "_unit", "_anim" ]; if ( _anim == "AmovPercMstpSrasWrflDnon_Salute" ) then { //Make sure function is not break out by other anims _unit execVM "anim.sqf"; //LOOP }; }]; Of course , anim.sqf can be more practical: anim.sqf: params[ "_unit","_fncanim" ]; _unit switchMove _fncanim; _unit addEventHandler [ "AnimDone", { params[ "_unit", "_anim" ]; if ( _anim == _fncanim ) then { [_unit,_fncanim] execVM "anim.sqf"; }; }]; MIKEs init _nul = [ this,"ANIMCLASS" ] execVM "anim.sqf"; or make anybody do anim in trigger, trigger act: [ _nul = [ _x , "ANIMCLASS" ] execVM "anim.sqf" ] foreach thislist ;
  2. In a Muti-play mode. 1. Set a support module connection(Requester+Supporter+ArtilleryUnits) to infantry player. 2. All run good. 3. Player died. Respawn. (By respawn module + BASE + MENU) 4. Player CAN NOT call any support at all. How to solve ? I am a noob at editing and not familiar with scriptings but I will try best.
  3. The EdenEditor's respawn settings are not good . We have to use Description.ext to make respawn or there's lots of problems. I suggest respawn and Veh-Respawn func more noob
  4. YES ! A final solution. How to write a function about adding arsenal-loadouts to respawn Vehicle ?
  5. CHINA Nothing

    Arsenal on Respawned Vehicles

    very useful . thanks a lot. If I use a cargo-ammo-limited arsenal, not a full-one arsenal, how to do it ?
×