This forum is locked and will eventually go offline. If you have feedback to share you can find us in our Discord channel "MythoLogic Interactive" https://discord.gg/nECKnbT7gk
Forum rules
Forum rules
How do I put a TimerTrigger's time in Text?
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- Ol1vver
- Superfighter

- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
How do I put a TimerTrigger's time in Text?
Hello, I'm trying to make a car with fuel, and I want to make a Text marker that will show how much fuel is left. Is there a way to do this without scripts, or with scripts? 
0 x
- JakSparro98
- Superfighter

- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 27
If you want a script-free solution, well, you are in the wrong place, my friend.
For a script request, instead, just provide more information of how this mechanic should work and I'll be glad to help.
0 x
- Ol1vver
- Superfighter

- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
I have made a car and a fuel meter. I want to make it so, when you interact with the BgValve (ActivateTrigger), the cars starts moving and there's a TimerTrigger that is enabled. When you interact with the BgValve (ActivateTrigger) again, the car stops and the TimerTrigger stops too. (EnableTrigger and DisableTrigger for the TimerTrigger should work) So all I need right now is make the TimerTrigger update the BgText marker, so BgText marker shows how many seconds are left in the TimerTrigger, or in this case: fuel.JakSparro98 wrote: ↑Thu Nov 22, 2018 3:52 pmIf you want a script-free solution, well, you are in the wrong place, my friend.
For a script request, instead, just provide more information of how this mechanic should work and I'll be glad to help.
0 x
- JakSparro98
- Superfighter

- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 27
I will elaborate the request in a couple of days, then I will post the code and a template map, if necessary.Ol1vver wrote: ↑Thu Nov 22, 2018 6:51 pmI have made a car and a fuel meter. I want to make it so, when you interact with the BgValve (ActivateTrigger), the cars starts moving and there's a TimerTrigger that is enabled. When you interact with the BgValve (ActivateTrigger) again, the car stops and the TimerTrigger stops too. (EnableTrigger and DisableTrigger for the TimerTrigger should work) So all I need right now is make the TimerTrigger update the BgText marker, so BgText marker shows how many seconds are left in the TimerTrigger, or in this case: fuel.JakSparro98 wrote: ↑Thu Nov 22, 2018 3:52 pm
If you want a script-free solution, well, you are in the wrong place, my friend.
For a script request, instead, just provide more information of how this mechanic should work and I'll be glad to help.
0 x
- Ol1vver
- Superfighter

- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
Yeah, I would like a template, or I won't be able to understand how to use it. Thanks!JakSparro98 wrote: ↑Thu Nov 22, 2018 7:10 pmI will elaborate the request in a couple of days, then I will post the code and a template map, if necessary.Ol1vver wrote: ↑Thu Nov 22, 2018 6:51 pmI have made a car and a fuel meter. I want to make it so, when you interact with the BgValve (ActivateTrigger), the cars starts moving and there's a TimerTrigger that is enabled. When you interact with the BgValve (ActivateTrigger) again, the car stops and the TimerTrigger stops too. (EnableTrigger and DisableTrigger for the TimerTrigger should work) So all I need right now is make the TimerTrigger update the BgText marker, so BgText marker shows how many seconds are left in the TimerTrigger, or in this case: fuel.JakSparro98 wrote: ↑Thu Nov 22, 2018 3:52 pm
If you want a script-free solution, well, you are in the wrong place, my friend.
For a script request, instead, just provide more information of how this mechanic should work and I'll be glad to help.
0 x
- JakSparro98
- Superfighter

- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 27
Script done, I hope is what you wanted @Ol1vver
Map template
Let me know if you need help figuring out how the script works.
Map template
Let me know if you need help figuring out how the script works.
1 x
- Ol1vver
- Superfighter

- Posts: 69
- Joined: Mon Nov 19, 2018 4:55 pm
- SFD Account: olv
- SFD Alias: olv
- Started SFD: PreAlpha 1.6.4
- Gender:
Thanks, but I really didn't need the car. All I needed was the timer in milliseconds. But ok, I guess?JakSparro98 wrote: ↑Sat Nov 24, 2018 8:11 pmScript done, I hope is what you wanted Ol1vver
Map template
Let me know if you need help figuring out how the script works.
0 x
- JakSparro98
- Superfighter

- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 27