15.03.2015, 15:27
Quote:
|
The searchlight itself consists of three objects (the square cone base, the housing and then the bulb itself). I don't know those ids by heart but I reckon you should be able to find them if you search for "a51_" in any map editor. That prefix is used for most of the base's objects.
That said, I don't think it's possible to remove the light beams themselves. These aren't objects (rather they are particles), they don't have an ID and as a result they can't be removed with RemoveBuilding. As is proven by this piece of mission script: Код:
06B1: 35@ = create_searchlight_at 161.513 1932.982 35.391 radius 0.5 target 49@ 56@ 63@ radius 12.5 42@ = Object.Init(#A51_SPOTBULB, 103.946, 1901.047, 36.246) 92@ = Object.Init(#A51_SPOTHOUSING, 103.946, 1901.047, 36.246) 93@ = Object.Init(#A51_SPOTBASE, 103.946, 1901.047, 36.246) 06CA: attach_searchlight 35@ to_tower 93@ to_housing 92@ to_bulb 42@ with_offset 0.0 1.181 0.768 066D: 136@ = attach_particle "SHOOTLIGHT" to_object 42@ with_offset 0.0 1.181 0.768 flag 1 |


