Thank you for the reply P0K3r i did find it and it was very usefull 
and for anybody else that is new to this and wants the same thing here is the link to the post that helped me
https://forums.unrealengine.com/showthread.php?132049-How-to-make-a-fabricator-run-on-gas-or-electricity&highlight=gas+Electric
SOLVED Thank you works like a dream 