Christian Bahr
Resource contributor
- Messages
- 971
- Country
Hi!
For the start of the engine a button was animated and tagged with the animation tag "switch_starter". The clickspot was also tagged with "switch_starter":
The startup works. if I press the button, then the engine starts.
But stopping the engine does not work!
The goal is to be solved this way:
- I press the starter button and the engine starts. The starter button remains in position "On"
- I push the button again and the engine goes off. The starter button returns to the "off" position.
The animation of the starter button has two keys: Key 0 and Key 50:
Is there already an existing recipe in the ModeDef.xml that i can use for this idea or modify something?
For the start of the engine a button was animated and tagged with the animation tag "switch_starter". The clickspot was also tagged with "switch_starter":
The startup works. if I press the button, then the engine starts.
But stopping the engine does not work!
The goal is to be solved this way:
- I press the starter button and the engine starts. The starter button remains in position "On"
- I push the button again and the engine goes off. The starter button returns to the "off" position.
The animation of the starter button has two keys: Key 0 and Key 50:
Is there already an existing recipe in the ModeDef.xml that i can use for this idea or modify something?