Gryp
01-04-2003, 11:08 AM
What is the console command to activate and deactivate the jetpack?
[T1 Request] JumpJet CommandGryp 01-04-2003, 11:08 AM What is the console command to activate and deactivate the jetpack? Gryp 01-04-2003, 11:19 AM never mind got around it. Raze1 01-05-2003, 02:37 PM Reference for future searches // Makes hitting right mouse button jump first, before jetting. editActionMap("playMap.sae"); bindCommand(mouse0, make, button1, TO, "jumpjeton();"); bindCommand(mouse0, break, button1, TO, "jumpjetoff();"); function jumpjeton() { if(getMountedItem(0) == -1) { postAction(2048, IDACTION_JET, 1); } else { postAction(2048, IDACTION_MOVEUP, 1); postAction(2048, IDACTION_JET, 1); } } function jumpjetoff() { postAction(2048, IDACTION_JET, 0); } Compatible with flying in scouts. Moss 01-05-2003, 03:26 PM but not if your playing without a weapon in hand :) Brain^Virus 01-05-2003, 04:55 PM Originally posted by dutchy but not if your playing without a weapon in hand :) I don't get it. :( Moss 01-05-2003, 04:56 PM if(getMountedItem(0) == -1) is the same as no weapon in hand so jump jet wont work, I only noticed it cos I play often without a wep as I am a tribal pacifist :/ Brain^Virus 01-05-2003, 05:12 PM Clearly I have no sense of humor. | ||