Help - Search - Members - Calendar
Full Version: Quick Question
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Scripting Discussion
Armen
How would I for example bind something to say "h" to activate xeno?
So when i pressed "h" it would use it?

And how would I apply this for other weapons Thank you
Mintman
It would be something along the lines of....

bind h "weapon_divinewind;wait;wait;wait;+attack;wait;wait;-attack"

Play about with the number of waits if it doesn't quite work or if you want to get it to work slightly quicker.

Edit: You can also apply it to other weapons by changing the weapon_ part or by swapping that for slotX

Note: This script won't work on bs 1 servers due to the +attack.
Malibu_Stacey
CODE
alias +xeno "weapon_divinewind; wait; wait; +attack"
alias -xeno "wait; -attack; wait; lastinv"
bind <key> +xeno


bit cleaner code & the lastinv will switch you back to the weapon you had selected before you hit the key to xeno. Might want to switch the lastinv for weapon_leap in this alias.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.