Need some Scripting Info

trinium

Private Tester
First off thanks to those who posted links to the torque reference in other posts. That was helpfull.

I want to disable the nameplates that show up when you mouse over near a player ... they get distracting when people use long names. I can't seem to find a variable for nameplates , visible, color, font, anything. Can anyone help me out with this?

I looked at RockyRex's script for changing team colors. $GameInfo::EnemyColor()
Where can i find a list of the game variables and such. It would be nice to have a reference for Legions specific functions, variables, etc. For example , MoveForward() does not appear anywhere in the reference but its bound in the config.cs

Thanks,
- Trinium
 

Armageddon

Teapot
Code:
function serverCmdSetClientTarget(%client, %objectId, %hasTarget)
{
   %object = %client.ResolveGhost(%objectId);
   if (!isObject(%object))
      return;
   %team = Teams.GetTeam(%client.playerIndex);
   if(%hasTarget)
      SetClientTarget(%team, %client, %object);
   else
      SetClientTarget(%team, %client, 0);
}

Not sure but nothing really stands out, i'll keep looking.
 

trinium

Private Tester
thanks !~! , I'm a bit confused by the function above, im not familiar with client.resolveghost() , where did youfind these commands ?
 

trinium

Private Tester
Thx RockeyRex,
Where did find that function ? I checked the torque 3d scripting reference and didn't see anything like it ?
- Trinium
 

Armageddon

Teapot
$GameInfo::NeutralColor = "255 255 255 255";
$GameInfo::AllyColor = "0 255 0 255";
$GameInfo::EnemyColor = "255 0 0 255";
$GameInfo::TeamColor0 = "255 0 0 255";
$GameInfo::TeamColor1 = "0 0 255 255";
$GameInfo::QuickChatColor = "150 150 150 255";

Bah, after taking a look i found the colors.. a month late but... yea
 
Top