Game Development Community

In Level Builder, recompile on Run

by Azmodeus · in Torque Game Builder · 09/26/2006 (12:49 pm) · 2 replies

If I modify the .cs files, the level builder does not recompile when i click play level.

This is a pain to have to reload the level every time.

#1
09/26/2006 (1:28 pm)
Exec your scripts in your startGame function in game.cs

This is the #1 most asked question on the forums. They ought to put it at the top of every tutorial! Don't feel bad for asking, I'm just commenting on the fact that the information should be put somewhere more obvious.
#2
09/26/2006 (1:43 pm)
Yes I was execing them in main.cs.

Makes sense now since main.cs only gets executed on the builder load not on "play".

Thanks!