Searchlight (CIGI Packets)
| Structure Type | SearchLight | |||
|---|---|---|---|---|
| Packet ID | 246 | |||
| Packet Size (bytes) | 78 | |||
| SpyClient Lookup | host2pcnova→h2ig.dat.searchlight | |||
| Parameter | Type | Description | Range | |
| Search_Light | char | 0 = OFF 1 = OTW 2 = IR | 0 - 2 | |
| Searchlight_Intensity | float | Searchlight intensity. | 0.0 - 1.0 | |
| Searchlight_Orient | Heading | float | Heading in degrees. | 0.0 - MAXFLOAT |
| Pitch | float | Pitch in degrees. | 0.0 - MAXFLOAT | |
| Roll | float | Roll in degrees. | 0.0 - MAXFLOAT | |
| Searchlight_Pos | X | double | X offset relative to parent in meters. | 0.0 - MAXDOUBLE |
| Y | double | Y offset relative to parent in meters. | 0.0 - MAXDOUBLE | |
| Z | double | Z offset relative to parent in meters. | 0.0 - MAXDOUBLE | |
| Parent.Type | char | N/A | N/A | |
| Parent.ID | unsigned short | Entity ID of parent. | 0 - MAXSHORT | |
| Parent.Attachment_Point | char | Optional point to attach to on the parent model if supported. | Model Specific | |
| Searchlight_Cone_Angle | float | Cone angle in degrees. | 0.0 - MAXFLOAT | |
| Searchlight_Color | R | float | Searchlight color (red). | 0.0 - 1.0 |
| G | float | Searchlight color (green). | 0.0 - 1.0 | |
| B | float | Searchlight color (blue). | 0.0 - 1.0 | |