hi guy's
another question
i know how to make an object spin and i know how to set the speed
but what i need to know is
can i make an object first spin slowly and lets say every 5 seconds spin a bit faster
Its for a big Fan
and could it be when pressed the use trigger the object start moving
Rotatey help pls
Moderator: Moderators
- XenoPHoXx_NL
- Sergeant
- Posts: 53
- Joined: Thu Feb 16, 2006 11:26 pm
- Contact:
Rotatey help pls
Can't Win The Game? Change The Rules!
script
Yes, you will have to make it change the speed from the script rather than in the entity properties.
my_fan:
$fan_trigger waittill trigger
$big_fan rotateY 30
wait 5
$big_fan rotateY 60
wait 5
$big_fan rotateY 90
end
Of course, your fan script_object and trigger_use will both need targetnames ("big_fan" and and "fan_trigger" in the example).
Key: targetname
Value: big_fan
Key: targetname
Value: fan_trigger
Ps: I'm not sure the numbers are right for the speed. It might be that the numbers have to get smaller to go faster.
my_fan:
$fan_trigger waittill trigger
$big_fan rotateY 30
wait 5
$big_fan rotateY 60
wait 5
$big_fan rotateY 90
end
Of course, your fan script_object and trigger_use will both need targetnames ("big_fan" and and "fan_trigger" in the example).
Key: targetname
Value: big_fan
Key: targetname
Value: fan_trigger
Ps: I'm not sure the numbers are right for the speed. It might be that the numbers have to get smaller to go faster.
- XenoPHoXx_NL
- Sergeant
- Posts: 53
- Joined: Thu Feb 16, 2006 11:26 pm
- Contact:


