Call of Duty: Black Ops 3 => Help Desk => Scripting => Topic started by: muffinmuncher115 on November 08, 2016, 09:00:12 pm
Title: How do I use SetLightingState?
Post by: muffinmuncher115 on November 08, 2016, 09:00:12 pm
Hi, I'm working on a new map and I'm having trouble using SetLightingState. Lighting states 1 and 2 are set to night, while I have lighting state 3 set to day. I'm trying to make the lighting state change to 3 with reckfullies shootable trigger script, but it doesn't seem to change. Could someone tell me how to set the map to lighting state 3 after all shootables are triggered?
Here is the code, the SetLightingState is towards the bottom. If someone can come up with a solution, I will credit you when I release the map, thanks in advance.
Title: Re: How do I use SetLightingState?
Post by: reckfullies on November 08, 2016, 11:10:26 pm
Hi, I'm working on a new map and I'm having trouble using SetLightingState. Lighting states 1 and 2 are set to night, while I have lighting state 3 set to day. I'm trying to make the lighting state change to 3 with reckfullies shootable trigger script, but it doesn't seem to change. Could someone tell me how to set the map to lighting state 3 after all shootables are triggered?
Here is the code, the SetLightingState is towards the bottom. If someone can come up with a solution, I will credit you when I release the map, thanks in advance.
The numbers for SetLightingState are messed up. I'm pretty sure 3 will set it to lighting state 2 so try using 4.
Title: Re: How do I use SetLightingState?
Post by: muffinmuncher115 on November 08, 2016, 11:58:06 pm
That didn't seem to work, do you think there's anything else that would work?
Title: Re: How do I use SetLightingState?
Post by: muffinmuncher115 on November 10, 2016, 11:49:23 am
Anyone? I really dont want all of the work I put in on the lighting for both times of day to go to waste.
Title: Re: How do I use SetLightingState?
Post by: reckfullies on November 10, 2016, 03:52:28 pm