Architect421 Posted November 15, 2016 Share Posted November 15, 2016 Hello, for a while now i was wondering if an effect could be added to a characrer: Ligtning attraction so a character with this effect will have to ALWAYS be struck by lightning bolts if a thunderstorm was to be also, it whould mean that this character whould need to stand twice as close to a lightning rod for lightning not to stricke him pwease post code that adds the effect, if it is at all possible Link to comment https://forums.kleientertainment.com/forums/topic/71724-ligtning-attraction-trait-for-a-character/ Share on other sites More sharing options...
Neu7ral Posted November 15, 2016 Share Posted November 15, 2016 Mayhaps you should check WX78 prefab, maybe it has something. Link to comment https://forums.kleientertainment.com/forums/topic/71724-ligtning-attraction-trait-for-a-character/#findComment-838007 Share on other sites More sharing options...
Neu7ral Posted November 16, 2016 Share Posted November 16, 2016 Since I'm home now. Attract all the lightning bolt inst.components.playerlightningtarget:SetHitChance(1) Link to comment https://forums.kleientertainment.com/forums/topic/71724-ligtning-attraction-trait-for-a-character/#findComment-838147 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now