I want to request a turning windmill fan/wheel. (spr_windmill_fan_turning)
It is only for the look.
I know that it is easy to make and its a nice feature in my opinion.
And of course -It's not essential.
greetings
P.S.
If you want a script:
[code=module_scene_probs.py]
("windmill_fan_turning",sokf_moveable,"windmill_fan_turning","bo_windmill_fan_turning", [
(ti_on_scene_prop_init,
[#Gotha Rotierendes Windmühlen Rad
(multiplayer_is_server),
(store_trigger_param_1, ":instance_id"),
(prop_instance_get_position, pos8, ":instance_id"),
(prop_instance_get_variation_id,":var", ":instance_id"),
(eq,":var",1),
(position_rotate_y, pos8, 360), #rotation auf y um 300 #/glaube nach rechts
(scene_prop_set_slot, ":instance_id", windmill, 0),
(prop_instance_animate_to_position, ":instance_id", pos8, 1400),
]),
(ti_on_scene_prop_animation_finished, [
(store_trigger_param_1, ":instance_id"),
(multiplayer_is_server),
(prop_instance_get_variation_id,":var", ":instance_id"),
(eq,":var",1),
(try_begin),
(prop_instance_get_position, pos8, ":instance_id"),
(scene_prop_slot_eq, ":instance_id", windmill, 0),
(position_rotate_y, pos8, 360), #rotation auf y um 300 #/glaube nach rechts
(scene_prop_set_slot, ":instance_id", windmill, 1), #setzt wieder den slot auf 0 dadurch ensteht ein loop
(prop_instance_animate_to_position, ":instance_id", pos8, 1400),
(else_try),
(prop_instance_get_position, pos8, ":instance_id"),
(scene_prop_slot_eq, ":instance_id", windmill, 1),
(position_rotate_y, pos8, 360), #rotation auf y um 300 #/glaube nach rechts
(scene_prop_set_slot, ":instance_id", windmill, 0),
(prop_instance_animate_to_position, ":instance_id", pos8, 1400),
(try_end),
]),
]),
[/code]
[code=module_constans.py]
windmill = 80
[/code]
Excuse me please, but the comments are in german.
greetings
It is only for the look.
I know that it is easy to make and its a nice feature in my opinion.
And of course -It's not essential.
greetings
P.S.
If you want a script:
[code=module_scene_probs.py]
("windmill_fan_turning",sokf_moveable,"windmill_fan_turning","bo_windmill_fan_turning", [
(ti_on_scene_prop_init,
[#Gotha Rotierendes Windmühlen Rad
(multiplayer_is_server),
(store_trigger_param_1, ":instance_id"),
(prop_instance_get_position, pos8, ":instance_id"),
(prop_instance_get_variation_id,":var", ":instance_id"),
(eq,":var",1),
(position_rotate_y, pos8, 360), #rotation auf y um 300 #/glaube nach rechts
(scene_prop_set_slot, ":instance_id", windmill, 0),
(prop_instance_animate_to_position, ":instance_id", pos8, 1400),
]),
(ti_on_scene_prop_animation_finished, [
(store_trigger_param_1, ":instance_id"),
(multiplayer_is_server),
(prop_instance_get_variation_id,":var", ":instance_id"),
(eq,":var",1),
(try_begin),
(prop_instance_get_position, pos8, ":instance_id"),
(scene_prop_slot_eq, ":instance_id", windmill, 0),
(position_rotate_y, pos8, 360), #rotation auf y um 300 #/glaube nach rechts
(scene_prop_set_slot, ":instance_id", windmill, 1), #setzt wieder den slot auf 0 dadurch ensteht ein loop
(prop_instance_animate_to_position, ":instance_id", pos8, 1400),
(else_try),
(prop_instance_get_position, pos8, ":instance_id"),
(scene_prop_slot_eq, ":instance_id", windmill, 1),
(position_rotate_y, pos8, 360), #rotation auf y um 300 #/glaube nach rechts
(scene_prop_set_slot, ":instance_id", windmill, 0),
(prop_instance_animate_to_position, ":instance_id", pos8, 1400),
(try_end),
]),
]),
[/code]
[code=module_constans.py]
windmill = 80
[/code]
Excuse me please, but the comments are in german.
greetings