GarageGames/Torque3D — pull request #41 by just-bank (2012-09-27 16:43:58+00:00)
Title: Feature: "externalCommand" for Torque3D.

A new feature for Torque3D: "externalCommand".

How to use "externalCommand" it in Torsion:
(instructions for other IDE should be similar)
1. In Torsion open "Tools" menu and select "External Tools"
2. Select first empty slot and enter following:
Title: &Reload current script
Command: $(ConfigExe)
Arguments: externalCommand 1 $(FilePath)
Initial Directory: $(ProjectWorkingDir)
Press OK

Now you can reload the currently-edited script directly from Torsion with two mouse-clicks!
Click **Tools**, then **Reload current script**.

See comments in Templates/Full/game/tools/main.cs for more examples.

As a protection (for shipped games), the ectual execution is wrapped with TORQUE_SHIPPING and the scripted function "parseExternalCommand" is placed under "tools" folder.