BlackICE Scripting

class megatron

CrosshairGameController

megatron.CrosshairGameController

  • 11 properties
  • 16 functions

Extends game.ui.WidgetGameController world.ui.IWidgetGameController ink.IWidgetController IScriptable ISerializable

Properties

PropertyTypeOffset
bulletSpreedBlackboardIdred.CallbackObject?0x0 scripted
crosshairStateBlackboardIdred.CallbackObject?0x10 scripted
leftPartWeakHandle<ink.ImageWidget>0x20 scripted
rightPartWeakHandle<ink.ImageWidget>0x30 scripted
nearCenterPartWeakHandle<ink.ImageWidget>0x40 scripted
farCenterPartWeakHandle<ink.ImageWidget>0x50 scripted
bufferedSpreadVector20x60 scripted
orgSideSizeVector20x68 scripted
minSpreadfloat0x70 scripted
gameplaySpreadMultiplierfloat0x74 scripted
crosshairStategame.PSMCrosshairStates0x78 scripted

Functions

  • bool OnInitialize() RTTI
  • bool OnUninitialize() RTTI
  • bool OnPlayerAttach(game.Object playerGameObject) RTTI
  • bool OnPlayerDetach(game.Object playerGameObject) RTTI
  • void RegisterPSMListeners(game.Object playerPuppet) RTTI
  • void UnregisterPSMListeners(game.Object playerPuppet) RTTI
  • bool OnBulletSpreadChanged(Vector2 spread) RTTI
  • bool OnPSMCrosshairStateChanged(int value) RTTI
  • void OnCrosshairStateChange(game.PSMCrosshairStates oldState, game.PSMCrosshairStates newState) RTTI
  • void ColapseCrosshair(bool full, float duration) RTTI
  • void ExpandCrosshair(bool full, float duration) RTTI
  • void OnState_HipFire() RTTI
  • void OnState_Aim() RTTI
  • void OnState_Reload() RTTI
  • void OnState_Sprint() RTTI
  • game.IBlackboard? GetUIActiveWeaponBlackboard() RTTI