This mod provides an API for extending the WeaponRig class
WeaponRig
To extend the WeaponRig class you need to extend res://mods/WeaponRigAPI/IWeaponRig.gd instead of the default res://Scripts/WeaponRig.gd
res://mods/WeaponRigAPI/IWeaponRig.gd
res://Scripts/WeaponRig.gd
IWeaponRig provides the same functions as WeaponRig but:
IWeaponRig
func Reload(_rig: WeaponRig) -> int: ...
HookResult.SkipBase
func Reload(_rig: WeaponRig) -> int: print("My Reload Hook") return HookResult.SkipBase
super
func Reload(rig: WeaponRig) -> int: print("My Reload Hook") return super(rig)
func Malfunction() -> bool: ...
bool
super()
This mod provides only the API for extending the WeaponRig class, you need Weapon Rigger to apply your extensions