This tutorial is repoduced
on .map with the kind permission of its original writer,
MPowell1944.
-------------------------------------------------------------------------------
Creating the Fan
-------------------------------------------------------------------------------
Create a room with a light source (See Creating
your First Room tutorial).Next, create a script_object
and give it a targetname of fan1. make this script_object
the shape of the center of the fan.Create 4 more script_object's
and make them in the shape of fan blades.
Give the first blade a targetname of blade1, the second
a targetname of blade2, the third a targetname of blade3,
and the fourth a targetname of blade4.Move these blades
around so they look attached to the main fan base.
Now comes the scripting for this fan. I assume u already
created an SCR file for your map.
level waittill spawn
thread fan1
end
fan1:
$blade1 bind $fan1
$blade2 bind $fan1
$blade3 bind $fan1
$blade4 bind $fan1
$fan1 rotatey 325 // the
number indicates the speed of the fans rotation.
Use -325 to rotate the fan the other way.
end
Above are the scripting steps you need
to follow. Then compile your map and you will have a
working fan. The above steps are for a ceiling fan.
For a vent fan you would use rotatez instead of rotatey.
If not, use rotatex.