OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: CopyrightPhilly on 21 Jun 2005, 06:13:22
-
is it possable to find what direction the flag texture is blowing?
cheers,
Phil
-
ive think i remeber seeing this question crop up on here not long ago,
there are two similar ways to detect wind direction
first idea, in theory parachutes are effected by wind direction so put one high up and compare its position a few moments later, do the appropriate maths and im sure you'll get your wind direction
Another idea is use the drop (http://www.ofpec.com/editors/comref.php?letter=D#drop) command to create a particle, particles i believe are more obviously effected by wind, compare its position like a second or two later and apply the same maths to calculate the angle it moved
-
thanks StonedSoldier
i used the first one, made a chute then after 5 seconds, worked out the direction from its start to finish
cheers,
Phil