Scripts: Difference between revisions

From Jedi Knight Wiki | JKHub
No edit summary
Line 1: Line 1:
// SABERS example
set v_saber1 "set v_saber vstr v_saber2; echo ^1Single; setu saber1 kyle; setu saber2 none; cmd saber kyle"
set v_saber2 "set v_saber vstr v_saber3; echo ^1Dual; setu saber1 kyle; setu saber2 kyle; cmd saber kyle kyle"
set v_saber3 "set v_saber vstr v_saber1; echo ^2Staff; setu saber1 dual_3; setu saber2 none; cmd saber dual_3"
seta v_saber "vstr v_saber1" // start on single
'''Syntax'''
'''Syntax'''
* bind '''key''' "alias"
* bind '''key''' "alias"


== '''Base/JA+ etc''' ==
== '''Examples''' ==
* Staff Backflip - <code>bind '''"key"''' "wait 5;+moveup;+back;+attack;wait 5;-back;-attack;-moveup"</code>
* Staff Backflip - <code>bind '''"key"''' "wait 5;+moveup;+back;+attack;wait 5;-back;-attack;-moveup"</code>
* Yellow/Red DFA & Dualies/Staff Butterfly - <code>bind '''"key"''' "+forward;+moveup;+attack;wait 2;-forward;-moveup;-attack"</code>
* Yellow/Red DFA & Dualies/Staff Butterfly - <code>bind '''"key"''' "+forward;+moveup;+attack;wait 2;-forward;-moveup;-attack"</code>
Line 15: Line 9:




Feel free to edit and add useful scripts - particularly for disabled players
[[Category:Terms]]

Revision as of 14:41, 20 August 2016

Syntax

  • bind key "alias"

Examples

  • Staff Backflip - bind "key" "wait 5;+moveup;+back;+attack;wait 5;-back;-attack;-moveup"
  • Yellow/Red DFA & Dualies/Staff Butterfly - bind "key" "+forward;+moveup;+attack;wait 2;-forward;-moveup;-attack"
  • Crouch (no roll) - bind "key" "+speed;wait 2;+movedown"
  • Roll - bind "key" "+forward;wait 2;+movedown"