Object ID.
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
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
It means i should find an alternative for removing them, like overlapping them if other objects. Thanks.
Reply


Messages In This Thread
Object ID. - by Cornul11 - 15.03.2015, 12:10
Re: Object ID. - by HeLiOn_PrImE - 15.03.2015, 12:38
Re: Object ID. - by Cornul11 - 15.03.2015, 12:41
Re: Object ID. - by Vince - 15.03.2015, 15:08
Re: Object ID. - by Cornul11 - 15.03.2015, 15:27
Re: Object ID. - by C2BuLLeT - 15.03.2015, 16:58
Re: Object ID. - by HeLiOn_PrImE - 15.03.2015, 18:19
Re: Object ID. - by TakeiT - 15.03.2015, 22:15
Re: Object ID. - by Promlesbian - 17.03.2016, 09:22
Re: Object ID. - by aymel - 17.03.2016, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)