- Home /
Changing wind zone variables from another script
Hey I need to be able to change a wind zone's "Wind Main" and "Wind Turbulence" variables from another script because I'm making a weather simulator and want the wind to blow at different amounts during different periods.
I think you can access the script by using:
GetComponent("WindZone")
But I don't know how to accessing the variables such as "Wind Main" from inside that script. I looked it up and found that people were saying it wasn't possible without a hack or work-around. Is this still true?
Comment
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Wind zone doesnt work 5 Answers
Wind zone to always point behind an object. 0 Answers
How do I disable a wind zone through script? 2 Answers
Wind zone particle system exclusion possible? [shuriken] 0 Answers