BlackICE Scripting

class

TrafficLight

  • 3 properties
  • 23 functions
  • 2 derived classes

Extends Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable

Properties

PropertyTypeOffset
lightStateworld.TrafficLightColor0x350 scripted
trafficLightMeshent.PhysicalMeshComponent?0x358 scripted
destroyedMeshent.PhysicalMeshComponent?0x368 scripted

Functions

  • bool OnRequestComponents(ent.EntityRequestComponentsInterface ri) overrideRTTI
  • bool OnTakeControl(ent.EntityResolveComponentsInterface ri) overrideRTTI
  • void ResolveGameplayState() overrideRTTI
  • TrafficLightController? GetController() overrideRTTI
  • TrafficLightControllerPS? GetDevicePS() overrideRTTI
  • bool OnTrafficLightChangeEvent(world.TrafficLightChangeEvent evt) RTTI
  • void CommenceLightChangeSequence(world.TrafficLightColor color) RTTI
  • void CommenceChangeToRed() RTTI
  • void CommenceChangeToGreen() RTTI
  • void CompleteLightChangeSequence() RTTI
  • bool OnMasterDeviceDestroyed(MasterDeviceDestroyed evt) RTTI
  • bool OnDelayEvent(DelayEvent evt) RTTI
  • void TurnOnDevice() overrideRTTI
  • void TurnOffDevice() overrideRTTI
  • void DeactivateDevice() overrideRTTI
  • void DeactivateDeviceSilent() RTTI
  • void ActivateDevice() overrideRTTI
  • void HandleRedLight(bool enable) RTTI
  • void HandleYellowLight(bool enable) RTTI
  • void HandleGreenLight(bool enable) RTTI
  • void TurnOffLights() RTTI
  • void DetermineLightsFixedState() RTTI
  • EGameplayRole DeterminGameplayRole() overrideRTTI