willowfork fire capt Posted August 4, 2015 Report Share Posted August 4, 2015 I was wandering if it is possible to but a light as like a flashlight on the firefighters in my mod and have it set as a headlight then have it come on when its dark Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 4, 2015 Report Share Posted August 4, 2015 Just like vehicles, yes. Animations will make it look kind of weird when the light doesn't move with the person, of course. Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 4, 2015 Report Share Posted August 4, 2015 Just like vehicles, yes. Animations will make it look kind of weird when the light doesn't move with the person, of course.Theoretically, another way would be to create a flashlight object (with a light already in it), place it on the hand of the person via script, and then set the script to "scan" for the flashlight object and enable the light that is in it. Problem is, there is no way to "aim" the flashlight in Em4, so you'll only have a single corona marking where your unit is and not actually something useful for lighting a scene for example. Quote Link to comment Share on other sites More sharing options...
willowfork fire capt Posted August 4, 2015 Author Report Share Posted August 4, 2015 Theoretically, another way would be to create a flashlight object (with a light already in it), place it on the hand of the person via script, and then set the script to "scan" for the flashlight object and enable the light that is in it. Problem is, there is no way to "aim" the flashlight in Em4, so you'll only have a single corona marking where your unit is and not actually something useful for lighting a scene for example. Would it be like adding an additional tool? Quote Link to comment Share on other sites More sharing options...
itchboy Posted August 4, 2015 Report Share Posted August 4, 2015 Would it be like adding an additional tool?Kinda like how the LA Mod added the ballistic shield, MP5, and etc. I'm not sure with the scanning and lighting part. Those are just theories. The principle in this lies in the PutObjectInRightHand() function. Quote Link to comment Share on other sites More sharing options...
willowfork fire capt Posted August 4, 2015 Author Report Share Posted August 4, 2015 Thanks for the help i will look into this Quote Link to comment Share on other sites More sharing options...