sinny 18 Posted April 12, 2016 Is it possible to AttachTo a certain type of light to a vehicle ? I would like a helicopter searchlights lit the same way as Land_LampAirport_F . But I do not want the helicopter to fly around with the entire lamp post. In short : can you add the properties of a light type to a vehicle with some sort of "AttachTo" ? Many thanks! Share this post Link to post Share on other sites
sarogahtyp 1109 Posted April 12, 2016 (edited) u could use hideObjectGlobal on server or hideObject on each client. EDIT: This could contain what u r looking for: http://www.armaholic.com/forums.php?m=posts&q=26540 Edited April 12, 2016 by sarogahtyp 1 Share this post Link to post Share on other sites
sinny 18 Posted April 12, 2016 I love you! I haven´t tried it yet, but i love you anyway! 1 Share this post Link to post Share on other sites
sinny 18 Posted April 12, 2016 Okay many many thanks for the link you gave me, it works like a charm .... almost ... When the vehicle is moving, the light is a little behind and become a strobe light. Is there something like "update every frame"'ish thing you could do? Can you make directional light? Right now I have a big sun in the helicopter that lights up everything ... and flashes like a strobe light :) :dj: Share this post Link to post Share on other sites
sarogahtyp 1109 Posted April 12, 2016 lol u already have what u want: https://forums.bistudio.com/topic/189737-attachto-trying-to-attch-a-lamp-on-torret/#entry3006845 that event handler draw3d fires every frame... with that directional thing, idk i never played around with light sources but this looks powerful: https://community.bistudio.com/wiki/setLightAttenuation u should crawl all those setLight... commands. Share this post Link to post Share on other sites
sinny 18 Posted April 15, 2016 Ok, i have been fiddeling around with this.... and i am going crazy... Do you or anyone knows how to set the parameters right? The light just keeps strobing ... :cry2: Share this post Link to post Share on other sites
Lala14 135 Posted April 15, 2016 Ok, i have been fiddeling around with this.... and i am going crazy... Do you or anyone knows how to set the parameters right? The light just keeps strobing ... :cry2: It's a thing with the engine. I have the same issue with my interior light script. Share this post Link to post Share on other sites
sinny 18 Posted April 16, 2016 Hmm... I see.... One odd thing tho, when you attach a lamp post to an vehicle, the light runs just fine and smooth... So how do i create my own lamp?? Want to join me in the hunt for that? You can create small interior lamps, which is awesome! Share this post Link to post Share on other sites
sinny 18 Posted April 17, 2016 Hmm, is there anyway to make objects textures invisible? I have tried the : hideObject = makes the whole lamp, with the lights dissapere. setObjectTextures = nothing happens (on a vehicle, this gets effect) setObjectMaterial = nothing happens (on a vehicle, this gets effect) *the object is the Land_LampAirport_F Or is it a bad idea? Vanilla Share this post Link to post Share on other sites
Jnr4817 215 Posted August 1, 2016 Did you ever figure this out? Share this post Link to post Share on other sites