mirror of
https://github.com/Tribes2-SCP/AssetCompat.git
synced 2026-01-19 20:24:53 +00:00
Added input compat script & implemented mouseJet
This commit is contained in:
parent
72bee49824
commit
14a2638045
13
scripts/t2Compat/inputFunctions.cs
Normal file
13
scripts/t2Compat/inputFunctions.cs
Normal 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;
|
||||||
|
}
|
||||||
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue