Hello
How do i make a rightclick on a node cause an action, then wait some minutes and then do another action?
Sample: light up a fireplace and it should go off after a while by itself.
How do i make a script wait some time before dong stuff?
- Drachenbauer32
- Member
- Posts: 105
- Joined: Wed Aug 28, 2019 18:11
- Nathan.S
- Member
- Posts: 1147
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: How do i make a script wait some time before dong stuff?
Nodetimers should do what you want.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
-
- Member
- Posts: 1482
- Joined: Fri Apr 19, 2013 16:19
- GitHub: twoelk
- IRC: twoelk
- In-game: twoelk
- Location: northern Germany
Re: How do i make a script wait some time before dong stuff?
The Real Torch mod may have code worth studying for sollutions
- Drachenbauer32
- Member
- Posts: 105
- Joined: Wed Aug 28, 2019 18:11
Re: How do i make a script wait some time before dong stuff?
Thanks!rubenwardy wrote:Here's a guide: https://rubenwardy.com/minetest_modding ... imers.html
There i found the solution, i needed.
Who is online
Users browsing this forum: No registered users and 13 guests