Multiboard Problem -->Can't Solve<--

  • Thread starter Thread starter DoYouLikePie
  • Start date Start date
D

DoYouLikePie

Guest
I have been working on this problem for a while. Here is the explained problem:

I need the triggers for a timer on a multiboard going down from 10 minutes when a unit dies. Does anyone know how? I really need to get this problem solved. Thanks for anyone who helps!
 
When the medic (the unit) dies, I need a timer on the multiboard for 15:00 counting down to 0:00. When it reaches 0:00, the medic is revived.
 
I kinda got a timer started on the multiboarrd, but when it gets to 10 seconds it does this: 0:11, 0:10, 0:9, 0:8, (I need an extra 0) Like this:
0:11, 0:10, 0:09, 0:08

Thanks if you figure it out! :)
 
Just add an if loop - if time < 10 secs, put a 0 before time.
 
but

but how would i do that. Conditions - Interval change? I don't understand...
 
Here ya go

Here is what you need in detail (even on what trigger it takes to make this)

Code:
[B][COLOR=DarkRed]Events[/COLOR][/B]
Time - A Unit Dies [B][COLOR=Lime](Genaric Unit Event)[/COLOR][/B]

[B][COLOR=Green]Conditions[/COLOR][/B]
Triggering unit equal to [COLOR=Lime](Your unit here)[/COLOR] [B][COLOR=Lime](I am not on WE but im sure u can find it)[/COLOR][/B]

[B][COLOR=Yellow]Actions[/COLOR][/B]
Set Seconds = (Seconds - 1)   [B][COLOR=Lime](Set Variable)[/COLOR][/B]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)  [B][COLOR=Lime](If then elce multiable conditions)[/COLOR][/B]
  If - Conditions
    Seconds Equal to 60 [B][COLOR=Lime](integer variable I belive)[/COLOR][/B]
      Then - Actions
        Set Seconds = 0 [B][COLOR=Lime](set variable)[/COLOR][/B]
        Set Miniutes = (Miniutes + 1) [B][COLOR=Lime](set variable)[/COLOR][/B]
          Else - Actions
            Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)  [B][COLOR=Lime](If then elce multiable conditions)[/COLOR][/B]
  If - Conditions
    Seconds Less than 10 [B][COLOR=Lime](integer variable I belive)[/COLOR][/B]
      Then - Actions
        Multiboard - Set the text for (Last created multiboard) item in column 3, row (Player_Count + 2) to (((String(Miniutes)) +  + (0 + (String(Seconds)))) 
          Else - Actions
            Multiboard - Set the text for (Last created multiboard) item in column 3, row (Player_Count + 2) to ((String(Miniutes)) + (: + (String(Seconds))))

For the areas I did not explain it is cause it would take too long to do it.


Anyway this should do it.

Oh yeah and if you got a different multiboard then the one from my tutorial or ryoko's then please post it so I can edit some of this to work with yours.
If it would make it easier on you, you can upload your map here and ic an put it all in for you and make sure it works.
 
Uh

Where did you get Player Count from? And Im going down not up. :banghead: too much pain :banghead: lol Help! Help! lol thanks if you do and remember, :shades: stay cool. BUT HELP! lol
 
I appreciate Senkin's attempted help, but I'll state my opinion. WE already HAS a timer and a timer window...it counts down which is what you want. If you want to count UP, use a multiboard, and it's usually complicated.

This is all you do (I'm also away from my computer, which is why I'm not on my Rinpun account :D).

Code:
Events
A Unit dies

Conditions
Unit type of (triggering unit --or-- dying unit) equal to Medic (your unit's type basically)     <----- Senkin, you have to use unit types :)

Actions
Set MedicUnit = (triggering unit --or-- dying unit)
Create a one-shot timer that expires in x seconds (how many seconds you'd want)
Set MedicTmr = (last created timer)
Create a timer window for MedicTmr <----- Something like that.
Set MedicWndw = (last created timer window)
Show MedicWndw

-----------------------------
Then create a second trigger
-----------------------------

Events
A timer expires

Conditions
Timer equal to MedicTmr <----- This is the part I don't remember XD

Actions
Destroy MedicWndw <----- You might need to hide it too. I'll get back to my computer on that.
<Do whatever you want to do to the MedicUnit>

Yes, you need three variables. MedicUnit is a Unit variable and it keeps track of your Medic, because your Medic is nonexistant in the second trigger. MedicTmr is a Timer variable, and it keeps track of your timer for the second trigger. MedicWndw is a Timer Window variable, and it keeps track of your timer window for the second trigger. The latter two aren't exactly needed because you can do "(last created timer/timer window)". HOWEVER, it will conflict with whatever timers and timer windows you already have going in your map, so variables will be needed if you have more timer windows.
 
Couldnt you use 2 variables?

1 minute variable and 1 second variable and each time second reach 0 it substracts 1 minute and if minute and second = o then it revives the Dood?
 
The player colors part is a variable to my multiboard, much like the one from the tutorial. And as to make the timer count down is already done, look at the code I posted above and it works.

As for timers, they look ok, but sometimes it has bugs when in a multiabord. Like the not showing 0:09 it shows :9 and so on. I found it alot more relyable to use my style of trigger, And mind you that trigger is 2 months old I have learned alot since then so I am sure I can make a little better one but I can garentee you it works fine.

Here I will do this for you. Tell me what multiboard you are using. Mine from the tutorial, or your own made one. Then I will make you the code you need for a timer in the multiboard that counts down. I will also make sure I tell you exactaly how to put it all in.
 
Usually when a unit dies you don't even bother adding said timer to the multiboard. It's better letting it sit in its own window just above the multiboard.
 
I agree :) So this timer is for only a cirten unit? Or is this for a player's hero that is dead?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I love the Trending Content!
  • The Helper The Helper:
    New News Forum World News
  • The Helper The Helper:
    How often does the Trending Content box refresh?
  • The Helper The Helper:
    Also, in the last template there was a seperation between sticky threads and regular threads in the forum
  • Ghan Ghan:
    Not sure. It's probably part of a cron job.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)

The Helper Discord

Staff online

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top