Staredit Network > Forums > SC2 Custom Maps > Topic: Aternative to Peridic Timer
Aternative to Peridic Timer
Jul 2 2010, 8:09 am
By: (U)Bolt_Head  

Jul 2 2010, 8:09 am (U)Bolt_Head Post #1



Hello all I have noticed a lot of people obsessing with good reason about how period events are like the bubonic plague to efficient triggers.

I thought of this idea the other day and don't know if it would be worse or better or just highly circumstantial.

Basicly instead of using a periodic use a 'Timer expires' Event. Not only does this make it so that the duration of your periodic is adjustable. But also ensures you a way to disable the periodic check.

Here is an idea of what the triggers may look like.
Event:
- Timer01 expires
Conditions
- Whatever
Actions:
- Repeated Actions
- IF (TimerCheck == TRUE )
- THEN { Set Timer01 to X seconds as a one shot timer (or whatever the syntax is) }

To Enable the Periodic you would make actions to:
- Varable TimerCheck = TRUE
- Set Timer01 to 0 seconds as a oneshot timer.

Like many everything I'm sure there are pros and cons and I have no idea how much lag a Timer causes compared to a periodic.

Edit: Oh you can probably use a variable for a periodic too... (I don't have access to Galaxy right now) Oh well =)



None.

Jul 3 2010, 5:46 am Temp Post #2



You can turn triggers off and on using actions. It is pretty much what you suggesting here and is a good idea when using periodic events, only run them when you need to.



None.

Jul 3 2010, 5:36 pm (U)Bolt_Head Post #3



Quote from Temp
You can turn triggers off and on using actions. It is pretty much what you suggesting here and is a good idea when using periodic events, only run them when you need to.

Oh I hadn't realized that, that is pretty neat.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: jun3hong