AssetCompat/scripts/playerFunctions.cs
2015-11-22 00:37:13 -05:00

13 lines
525 B
C#

//------------------------------------------------------------------------------
// playerFunctions.cs
//
// Various helper functions that many Tribes 2 scripts expect to exist which
// can be implemented wholly in script. Those that must perform more
// sophisicated engines must be implemented as engine functions.
//------------------------------------------------------------------------------
function Player::setArmor(%this, %armor)
{
%this.setDatablock(%armor @ %this.client.sex @ this.%client.race @ "Armor");
}