Creating textobject with script
by Chris J · in Technical Issues · 11/15/2008 (8:40 am) · 1 replies
I'm using the torque game builder, anyone know how to do this?
also any good references on torque script?
also any good references on torque script?
Leo Goldseed
// Time-check if( %timeLeft < 0 ) { %this.setScenePause( true ); MoleGuiGameOver.visible = 1; %timeLeft = 0; } // Update the GuiTextCtrl MoleGuiTimer.text = "Timer:" SPC %timeLeft ;This displays "Timer" then a space and then the value of the variable timeLeft.