BlackICE Scripting

class

DiodeControlComponent

  • 6 properties
  • 12 functions

Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable

Properties

PropertyTypeOffset
affectedLightsCName[]0x0 scripted
lightsStatebool0x10 scripted
primaryLightPresetDiodeLightPreset0x18 scripted
secondaryLightPresetDiodeLightPreset0x60 scripted
secondaryPresetActivebool0xA8 scripted
secondaryPresetRemovalIDgame.DelayID0xAC scripted

Functions

  • bool OnRequestComponents(ent.EntityRequestComponentsInterface ri) RTTI
  • bool OnDeath(game.events.DeathEvent evt) RTTI
  • bool OnApplyDiodeLightPresetEvent(ApplyDiodeLightPresetEvent evt) RTTI
  • void ApplyPrimaryPreset(DiodeLightPreset preset, float delay, bool force) RTTI
  • void ApplySecondaryPreset(DiodeLightPreset preset, float delay, float duration) RTTI
  • bool OnRemoveSecondaryDiodeLightPresetEvent(RemoveSecondaryDiodeLightPresetEvent evt) RTTI
  • void ApplyPreset(DiodeLightPreset preset, float? delay) RTTI
  • void QueueLightSettings(int[] colorValues, float strength, float time, CName curve, bool loop, float delay) RTTI
  • bool OnChangeDiodeLightSettingsEvent(ChangeDiodeLightSettingsEvent evt) RTTI
  • void ChangeLightSettings(int[] colorValues, float strength, float time, CName curve, bool loop) RTTI
  • void ToggleDiodes(bool state) RTTI
  • static void ActivateLightPreset(game.Object owner, WeakHandle<game.data.LightPreset_Record> lightPreset, float delay) staticRTTI global