Particle's Custom RPG

Assistance => Assistance & Feedback => Topic started by: Razore on May 6, 2003 10:57 pm CDT

Title: How do i bind a key?
Post by: Razore on May 6, 2003 10:57 pm CDT
(read title)
Title:
Post by: Silvanoshei on May 6, 2003 11:03 pm CDT
Read the Newbie Guide.
Title:
Post by: Razore on May 6, 2003 11:07 pm CDT
Itsnot on newb guide!
Title:
Post by: eViL on May 6, 2003 11:17 pm CDT
read the documentation section dumbass. blade posted an entire section on key binding.
Title:
Post by: Silvanoshei on May 6, 2003 11:33 pm CDT
*sigh*

To autorun...
bindAction(keyboard0, make, "[key of your choice]", TO, IDACTION_MOVEFORWARD, 1.000000);

To autofire...
bindCommand(Keyboard0, make, "[key of your choice]", TO, " postaction(2048,IDACTION_FIRE1,-0);");

To say something (like #sleep)...
bindCommand(keyboard0, make, "[key of your choice]", TO, "remoteeval(2048, say(0, \"[what you want to say]\"));");

Put those in <TribesRPG>\config\autoexec.cs

And it is in the Newbie Guide, you know.
Title:
Post by: Razore on May 6, 2003 11:37 pm CDT
I got it
bindCommand(keyboard0, make, "h", TO, "use(\"Crystal Energy Vial\");");