yes i've tried that one didn't work
i've changed it after and it still doesn't work
scn AlexSquadRadioScript short ibutton short iMenuLevel Begin OnEquip showmessage AlexSquadSummonMenu set iMenulevel to 1 end Begin GameMode if iMenuLevel == 0 return endif set iButton to GetButtonPressed if iButton == -1 ;Wait until button was pressed return endif if iButton == 0 ;cancel the menu set iMenulevel to 0 playsound WPNAlienBlasterFire2D elseif iMenuLevel == 1 set iMenulevel to 0 if iButton == 1 ;summon the squad set AlexSquadDismis to 0 placeatme AlexSquadVertibird 1 set AlexSquadToManySummoned to 3 elseif iButton == 2 ;Dismiss the squad set AlexSquadDismis to 1 ;Dismiss the squad PlaceAtMe AlexSquadVertibird 1 elseif iButton == 3 ;Tell your squad to use silent weapons set AlexSquadweaponchange to 1 elseif iButton == 4 ;tell your squad to use primary weapons set AlexSquadweaponchange to 0 elseif iButton == 5 ShowMessage AlexWaitOptions set iMenuLevel to 2 elseif iButton == 6 ShowMessage AlexFollowOptions set iMenuLevel to 3 endif elseif iMenuLevel == 2 set iMenulevel to 0 if iButton == 1 set AlexSquadholdposition to 1 elseif iButton == 2 set AlexSquadWaitRelax to 1 endif elseif iMenuLevel == 3 set iMenulevel to 0 if iButton == 1 set AlexSquadFollowClose to 1 elseif iButton == 1 set AlexSquadFollowLong to 1 elseif endif end
scn AlexSquadRadioScript short ibutton short iMenuLevel Begin OnEquip showmessage AlexSquadSummonMenu set iMenulevel to 1 end Begin GameMode if iMenuLevel == 0 return endif set iButton to GetButtonPressed if iButton == -1 ;Wait until button was pressed return endif if iButton == 0 ;cancel the menu set iMenulevel to 0 playsound WPNAlienBlasterFire2D elseif iMenuLevel == 1 set iMenulevel to 0 if iButton == 1 ;summon the squad set AlexSquadDismis to 0 placeatme AlexSquadVertibird 1 set AlexSquadToManySummoned to 3 elseif iButton == 2 ;Dismiss the squad set AlexSquadDismis to 1 ;Dismiss the squad PlaceAtMe AlexSquadVertibird 1 elseif iButton == 3 ;Tell your squad to use silent weapons set AlexSquadweaponchange to 1 elseif iButton == 4 ;tell your squad to use primary weapons set AlexSquadweaponchange to 0 elseif iButton == 5 ShowMessage AlexWaitOptions set iMenuLevel to 2 elseif iButton == 6 ShowMessage AlexFollowOptions set iMenuLevel to 3 endif elseif iMenuLevel == 2 set iMenulevel to 0 if iButton == 1 set AlexSquadholdposition to 1 elseif iButton == 2 set AlexSquadWaitRelax to 1 endif elseif iMenuLevel == 3 set iMenulevel to 0 if iButton == 1 set AlexSquadFollowClose to 1 elseif iButton == 1 set AlexSquadFollowLong to 1 elseif endif end
scn AlexSquadRadioScript int ibutton; int iMenuLevel; Begin OnEquip{ showmessage(AlexSquadSummonMenu); iMenulevel = 1;}Begin GameMode{ if (iMenuLevel == 0) return; iButton = GetButtonPressed; if (iButton == -1) return; if (iButton == 0) { iMenulevel = 0; playsound(WPNAlienBlasterFire2D); } else { ibutton += iMenuLevel*10; imenulevel=0; switch(ibutton) { case 11: AlexSquadDismis = 0; placeatme(AlexSquadVertibird,1); AlexSquadToManySummoned = 3; break; case 12: AlexSquadDismis = 1; // Dismiss the squad PlaceAtMe(AlexSquadVertibird,1); break; case 13: AlexSquadweaponchange=1; break; case 14: AlexSquadweaponchange=0; break; case 15: showMessage(AlexWaitOptions); iMenuLevel = 2; break; case 16: showMessage(AlexFollowOptions); iMenuLevel = 3; break; case 21: AlexSquadholdposition = 1; break; case 22: AlexSquadWaitRelax = 1; break; case 31: AlexSquadFollowClose = 1; break; case 32: AlexSquadFollowLong = 1; break; } }} Begin GameMode if IsKeypressed 47 ;V for Vertibifd showmessage AlexSquadSummonMenu set iMenulevel to 1 endif if iMenuLevel == 0 return endif set iButton to GetButtonPressed [...]
scn AlexSquadAssaultStealthToScriptFloat Timershort doOnceBegin OnLoad if doOnce == 0 Set timer to 30 PlaceAtMe AlexSquadMarker 1 set AlexSquadAssaultStealthToMarker to 1 ShowMessage AlexMoveInStealthIsWorking set doOnce to 1 endif EndBegin GameMode if timer > 0 set timer to timer - getsecondspassed else set AlexSquadAssaultStealthToMarker to 0 disable MarkForDelete endifEnd
scn AlexSquadAssaultStealthToScriptref meFloat Timershort doOnceBegin OnLoad if doOnce == 0 set me to getself AlexSquadMarker.move to me ;where AlexSquadMarker is the reference id of the xmarker Set timer to 30 set AlexSquadAssaultStealthToMarker to 1 ShowMessage AlexMoveInStealthIsWorking set doOnce to 1endif EndBegin GameMode if timer > 0 set timer to timer - getsecondspassed else set AlexSquadAssaultStealthToMarker to 0 disable MarkForDelete endifEnd