mirror of
https://github.com/Tribes2-SCP/AssetCompat.git
synced 2026-02-24 17:13:54 +00:00
Added input compat script & implemented mouseJet
This commit is contained in:
parent
72bee49824
commit
14a2638045
2 changed files with 14 additions and 0 deletions
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/audioFunctions.cs");
|
||||
exec("t2Compat/playerFunctions.cs");
|
||||
exec("t2Compat/inputFunctions.cs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue