-----------------------
 trigger_cmd tech demo
-----------------------

2007-09-18: v0.1

--
DESCRIPTION:
--

This is a small mod with a new map entity class named "trigger_cmd".  They are treated like standard triggers but, when triggered, the contents of the key "consoleCmd" is executed as if it were typed into the console.

The included demo map, demo.bsp, shows how things can be accomplished with the trigger_cmd, including:
1) compound commands,
2) the formatting for commands with slashes,
and
3) execution of external scripts (so you don't have to recompile the map over and over like I did).

--
INSTALLATION:
--

Extract this zip file to your ioquake3 or quake3 root directory.

--
EXECUTION:
--

Select "TRIGGER_CMD" from the Mods menu in quake3 or ioquake3.  Bring down the console and (enable "\developer 1" if you want to see debug info) load demo.bsp as follows: "\map demo"


If you have any questions, shoot me an e-mail.  Enjoy!

--
Adnan Zafar
adnan@adnanzafar.com
http://www.adnanzafar.com
http://skew.telefragged.com