Unit's Default Location
by Gurpreet Nijjar · in Technical Issues · 03/10/2007 (9:33 am) · 4 replies
When running to RTS Starter Kit demo with the bots, wizards, and the rifleman.
Which file and where does it specify their starting positions? Can this be modified? Please let me know.
Thanks in advance.
Which file and where does it specify their starting positions? Can this be modified? Please let me know.
Thanks in advance.
#2
is it possible to spawn different units to different starting locations?
here is my current code..any ideas? or suggestions?
03/10/2007 (1:32 pm)
Thanks!is it possible to spawn different units to different starting locations?
here is my current code..any ideas? or suggestions?
function RTSConnection::createPlayer(%this, %spawnPoint, %index)
{
switch(%index % 16)
{
case 0:
%data = britishgeneralBlock;
case 1:
%data = britishinfantryBlock;
case 2:
%data = britishmilitiaBlock;
case 3:
%data = britishofficerBlock;
case 4:
%data = nativeamericanBlock;
case 5:
%data = nativeamericanchiefBlock;
case 6:
%data = nativeamericanwarriorBlock;
case 7:
%data = usgeneralBlock;
case 8:
%data = usinfantryblueBlock;
case 9:
%data = usinfantrygreenBlock;
case 10:
%data = usmilitiaBlock;
case 11:
%data = usofficerBlock;
case 12:
%data = us12poundBlock;
case 13:
%data = us6poundBlock;
case 14:
%data = british12poundBlock;
case 15:
%data = british6poundBlock;
}
#3
03/10/2007 (4:22 pm)
You need to post RTS specific questions in the RTS forums :) Click on the "Edit Subscriptions" link above.
#4
03/10/2007 (6:47 pm)
Where is this link and the RTS forums?
Torque Owner Caleb
Default Studio Name