Random flicker in torch light function from Elemental demo?

So, I was looking at the elemental demo and the light functions it uses for torches. I was wondering if it’s possible to implement random flickering based on light position in the world? Currently all lights with this function flicker at the same exact same time. I only want to offset the speed based on world position, but I have no idea how to do this effectively.

I dont know how the light function is setup for those torches but you can use Object Position node to multiply the speed value and it should give you the variance you want.

Yeah, that’s not working. I just get an error from implementing the node. I assume the object position node is not compatible with light function shading model.

It should work. Can you post a screenshot of your material setup?

http://grab.by/AEea

This is the default torch flicker that came with the Elemental demo. I forgot to save my edits with the object position node.

Hmm, my mistake, Object Position doesnt work. But here is a solution: Considering the torch is a blueprint, you can multiply the time with a scalar parameter and then set that scalar value with the world location of the torch in construction script of the torch BP.