Messiah 2 Posted July 15, 2004 ok, you're a teamleader 'moveincargo' into a BAS hawk. Now, my mission gives the pplayer the option of 4 different, pre recon'd LZ's, and i want him to only use them, which would be fine if the BAS Hawks didnt give him the option to fast rope anywhere he likes... so, i spoke to TJ and he said to try and alter the animation phase to prevent the script from firing... so i checked the config, hoping that the action was like the normal 'addaction' and would have a name with which to remove it with... no such luck: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class FastRoperemote { displayName="Fast Rope Insertion (A)"; position="axisswitch1"; radius=5; condition="(getpos this select 2)>3 && (player in this) && (driver this != player) && (this animationPhase {switch1FRope} ==1) && !(local this) && (player != leader group player) && (this animationphase {switch2Pickup} <= 0.456)"; statement="[this,player] exec {\BAS_MAH60\FX\rappel.sqs}"; }; class FastRoperemoteplusAI { displayName="Fast Rope Insertion (B)"; position="axisswitch1"; radius=5; condition="(getpos this select 2)>3 && (player in this) && (driver this != player) && (this animationPhase {switch1FRope} ==1) && !(local this) && (player == leader group player) && (this animationphase {switch2Pickup} <= 0.456)"; statement="[this,player] exec {\BAS_MAH60\FX\rappel2.sqs}"; }; class MapFastRope { displayName="Fast Rope Insertion (C)"; position="axisswitch1"; radius=2000; condition="(player != driver this) && (getpos this select 2)>5 && (this animationPhase {switch1FRope} ==0) && (player == leader this) && (local this) && (count ((units group player) - (crew this)) < count (((units group player) - [driver this]) - [gunner this])) && (this animationphase {switch2Pickup} <= 0.456)"; statement="this exec {\BAS_MAH60\FX\maprappel.sqs}; this animate [{switch1Frope}, 0.9] "; }; class MapFastRopeNonGroup { displayName="Fast Rope Insertion (D)"; position="axisswitch1"; radius=2000; condition="(player != driver this) &&(getpos this select 2)>5 && (player == leader group player) && (group this != group player) && (count ((units group player) - (crew this)) < count (((units group player) - [driver this]) - [gunner this]))&& (this animationPhase {switch1FRope} ==0) && (gunner this != player) && (this animationphase {switch2Pickup} <= 0.456)&&(local this)"; statement="this exec {\BAS_MAH60\FX\maprappel.sqs}; this animate [{switch1FRope}, 0.9]"; now... if i remember correctly the one i get given the optinon of, is fast rope (D). TJ mentioned something about altering the animation phase to a number that won't let the script show... but this config is beyond me... does anyone know what i'm meant to be writing into an init.sqs ? @BAS, i did ask DM if i could open up the config and look around, but if u dont want the config posted up here, i'll remove Share this post Link to post Share on other sites
Messiah 2 Posted July 16, 2004 nevermind, TJ answered this by IM - legend Share this post Link to post Share on other sites