Emails are disabled - for account issues, post in #help on the NI Discord.

Turning windmill fan/wheel
#1
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
Reply


Messages In This Thread
Turning windmill fan/wheel - by Gotha - 06-04-2012, 01:59 AM
Re: Turning windmill fan - by OneEyE - 06-04-2012, 02:11 AM
Re: Turning windmill fan - by Gotha - 06-04-2012, 09:59 AM
Re: Turning windmill fan/wheel - by zeanomourph - 09-04-2012, 09:33 AM
Re: Turning windmill fan/wheel - by Perception - 09-04-2012, 12:34 PM
Re: Turning windmill fan/wheel - by zeanomourph - 09-04-2012, 11:15 PM
Re: Turning windmill fan/wheel - by Pandabomber - 09-04-2012, 11:18 PM



Users browsing this thread: 4 Guest(s)