Hi all, I’m new to this but could someone point me in the right direction to have a random power cut ? I’d like every light to go off inside my building except my directional light (Moon).
Cheers
Hi all, I’m new to this but could someone point me in the right direction to have a random power cut ? I’d like every light to go off inside my building except my directional light (Moon).
Cheers
You could just do a GetAllActorsOfClass to find your streetlights ( or whatever ), and then call the ‘off’ custom event ( assuming they are blueprints ).
Technically, the best way to do this is with an event dispatcher, but it really depends how many you have in the level.
brill thankyou so much
You could also make it look very real, by having a random delay for each light. That would be in the light BP custom event.
Thankyou, ill probably need help with the script as I’m terrible and new haha, I’ve got the blueprint so ill start with that