Jump to content
Sign in to follow this  
MuteAssassin

How to add a search light to a pu truck

Recommended Posts

ive tried all i know and nothing. Im a noob at this i guess.

I really need this speacil little addition to my mission. want to be able to have a search light mounted in a truck like a weapon and run a searchlight script. I need this for a coupple of convoys. any help would be greatfull.

Edited by MuteAssassin

Share this post


Link to post
Share on other sites

Hey m8,i tried this out for you,use an open truck then place a bluefor static searchlight over the back end of truck, and place this in the init line of the searchlight, this setPos [(getPos this select 0),(getPos this select 1),2];

Hope thats what u wanted m8.:)

Share this post


Link to post
Share on other sites
Is this even possible?

It's possible for ArmA II via attachTo command, but in ArmA it won't work. I'm sorry to say that I've seen any proper script that could be working. Even it'll work in singleplayer mode, it won't work in multiplayer because of lots of synchronization problems between the server/clients.

Share this post


Link to post
Share on other sites

sounds good thanks doc, ill give it a try.

I kept tring to use the attachObject.

Share this post


Link to post
Share on other sites

this is awsome!! but ive been tring to go further and use this http://community.bistudio.com/wiki/attachObject

My goal is to get an open ural to patrol with the search mounted.

Doc I thank you for your help. do you have anymore ideas?

mabe attachedObject in the ural init?

Ive named my unit and search and substituted them for "this".

Share this post


Link to post
Share on other sites

create a searchlight and put this in the initialization line

this attachTo [truck,[0,1,-.8]];  this action ["lightOn", this]

create a truck and name it truck

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×