Help - Search - Members - Calendar
Full Version: Demo Script
Unknown Worlds Forums > Natural Selection > Natural Selection Creation > Scripting Discussion
Slavak
Is it possible to make a script where you can put the name of the demo in?

eg useing message mode or something?

I know its just as easy to go to the console but thats annoying.

Thanks
obuh
CODE
//demo recording
alias demo_on "messagemode record;alias demotoggle demo_off;dev1;echo Demo recording : ON;dev0"
alias demo_off "stop;alias demotoggle demo_on;dev1; echo Demo recording : OFF; dev0"

alias demotoggle demo_on


Put this in userconfig.cfg and bind a key to demotoggle. Press the key once, it will prompt for a name at the top of the screen. I will start recording once you type in a name and press enter. Press the key again to stop recording.

Edit : Forgot to add this, to make the echos work :

CODE
alias dev1 "developer 1"
alias dev0 "developer 0"
Slavak
sa weet

<3 man
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.