Added input compat script & implemented mouseJet

This commit is contained in:
Robert MacGregor 2015-11-22 23:29:05 -05:00
parent 72bee49824
commit 14a2638045
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
//------------------------------------------------------------------------------
// inputFunctions.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.
//------------------------------------------------------------------------------
// Apparently our Torque3D build already has this in it, how convenient.
function mouseJet(%jetting)
{
$player::jumpJetTrigger = %jetting;
}

View file

@ -10,3 +10,4 @@
exec("t2Compat/etcFunctions.cs"); exec("t2Compat/etcFunctions.cs");
exec("t2Compat/audioFunctions.cs"); exec("t2Compat/audioFunctions.cs");
exec("t2Compat/playerFunctions.cs"); exec("t2Compat/playerFunctions.cs");
exec("t2Compat/inputFunctions.cs");