mirror of
https://github.com/Tribes2-SCP/AssetCompat.git
synced 2026-01-19 20:24:53 +00:00
Add main script compat file
This commit is contained in:
parent
11ed6e55d7
commit
da9cd53b97
|
|
@ -8,5 +8,5 @@
|
||||||
|
|
||||||
function Player::setArmor(%this, %armor)
|
function Player::setArmor(%this, %armor)
|
||||||
{
|
{
|
||||||
%this.setDatablock(%armor @ %this.client.sex + this.%client.race + "Armor");
|
%this.setDatablock(%armor @ %this.client.sex @ this.%client.race @ "Armor");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
scripts/scriptCompat.cs
Normal file
10
scripts/scriptCompat.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// scriptCompat.cs
|
||||||
|
//
|
||||||
|
// Tribes 2 script compatability layer for Torque3D. This compatability
|
||||||
|
// layer helps Tribes 2 scripts run on the Torque3D engine via various
|
||||||
|
// Torque Script & engine declared functions that implement missing
|
||||||
|
// functionality.
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
exec("scripts/playerFunctions.cs");
|
||||||
Loading…
Reference in a new issue