April 28, 201610 yr comment_311910 How would I make a child of a light appear on the roof of a vehicle only when blue lights have been activated Report
May 4, 201610 yr comment_312103 I think...  Add the child and name it, and then in the command file for the flashing lights make it so that if bluelights activated = yes, then the child is shown. (I would be more specific, but I dont have the resources on me to look it up) Report
May 4, 201610 yr comment_312141 When turning the light on you'd need something like 'v.SetChildEnabled("MagneticLight", true);' and turning off ''v.SetChildEnabled("MagneticLight", false);' If you can't work it out I can give it a try and see if it works. Report
May 4, 201610 yr Author comment_312142 Ill give it a go, im pretty dumb when it comes to scripting though Report
May 5, 201610 yr comment_312186 http://pastebin.com/qJ4UZiD5 Something like this would have to be utilized in conjunction with the EnableBlueLights code to get desired function. The problem is, Em4 has a keyboard shortcut for disabling lights. It is Shift+B on the keyboard. When you press this keyboard shortcut, the childObject will not be hidden or shown because the lights script wont be called. Report
May 6, 201610 yr Author comment_312213 2 hours ago, itchboy said: http://pastebin.com/qJ4UZiD5 Something like this would have to be utilized in conjunction with the EnableBlueLights code to get desired function. The problem is, Em4 has a keyboard shortcut for disabling lights. It is Shift+B on the keyboard. When you press this keyboard shortcut, the childObject will not be hidden or shown because the lights script wont be called. Thank you Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.