//EmperorsChamp: You probably know that little box you get when you want to select multiple units in an RTS game. //I need you to get this function to work properly (Uh.. my triggy is not that great, Torque is my first major modding thing) //And if possible, could you make some sort of 2D-3D vector conversion I can use for unit selection? Without that, the entire RTS idea is fucked. // //Note: I might as well remove the "RPG" at the end of T2Bol, it features multiple gameModes now: //Real Time Strategy (Duh!) //Survival //And the rest of the default T2 Gamemodes are modified to work with the Draakans and Criollos //The RPG gamemode will probably be finished when you start helping me.. it's a huge pain in the ass working on it myself //If you got any ideas or comments, reply. //And finally.. the function: function RTS_SelectLoop() //For now, unless there's a function on the Canvas that is called when le' cursor is moved { if (!$RTSSelect) //Used to stop the loop. return; %pos = Canvas.getCursorPos(); //We need to know where our cursor is.. %x = getWord(%pos, 0); //Split the x and y axis to seperate strings %y = getWord(%pos, 1); PlayGui.selectBox.setExtent(%x * 0.5, %y * 0.5); //Yea.. this is what needs a lot of tweaking schedule(1,0,"RTS_SelectLoop"); //Go through with the loop again to update our box, there should be a function somewhere that's called when the curs0r is moved.. } //If you would like the current copy of my mod, ask.