LinkerMod icon indicating copy to clipboard operation
LinkerMod copied to clipboard

Add new GSC functions

Open Jbleezy opened this issue 7 years ago • 2 comments

The following functions would be great to have in BO1: GetMoveSpeedScale() WeaponReloadEndTime() (WeaponReloadTime() gets the weapon reload add time, the time when the ammo gets added to the clip) IsReloading() ActionSlotOneButtonPressed() ActionSlotTwoButtonPressed() (fix) ActionSlotThreeButtonPressed() ActionSlotFourButtonPressed() WeaponSwitchButtonPressed()

EDIT: Removed functions which are actually in the game already

Jbleezy avatar Jan 20 '18 01:01 Jbleezy

The following functions are already present:

  • UseButtonPressed()
  • UseButtonHeld()
  • AttackButtonPressed()
  • ReverseButtonPressed()
  • FragButtonPressed()
  • SecondaryOffhandButtonPressed()
  • AdsButtonPressed()
  • ThrowButtonPressed()
  • MeleeButtonPressed()
  • JumpButtonPressed()
  • ButtonPressed()
  • ActionSlotTwoButtonPressed()
  • SprintButtonPressed()
  • GasButtonPressed()
  • ReloadButtonPressed()

Of the functions you mentioned, the only one's that aren't already present are the following:

  • GetMoveSpeedScale()
  • WeaponReloadEndTime()
  • IsReloading()
  • ActionSlotOneButtonPressed()
  • ActionSlotThreeButtonPressed()
  • ActionSlotFourButtonPressed()
  • WeaponSwitchButtonPressed()

SE2Dev avatar Jan 20 '18 18:01 SE2Dev

Okay I just tried them out, you're right.

Except ActionSlotTwoButtonPressed() is a bit buggy, it doesn't get notifies every time and it only gets notified the first time you press it. All the other ones will be true if you hold the button but not this one.

Jbleezy avatar Jan 20 '18 22:01 Jbleezy