• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

every 1 second which is better?

Status
Not open for further replies.
Level 6
Joined
Jun 23, 2005
Messages
195
If i have multiple things that need to be checked every 1 seconds is it better to have it in only one trigger?

It would be better to have multiple triggers to keep some things aranged, but does it matter how many triggers have every 1 second of game?
 
Level 6
Joined
Jul 25, 2005
Messages
221
But, then you lose some of the differences in time. For example, a trigger is activated at 12.000 (seconds), another is triggered at 12.500 (seconds). This will give a more feel to the game rather than everything coming at once every second.

Two Triggers: One adds 1 gold, the other adds 5 gold, every 1 seconds of gametime. The trigger is activated when, for example, a unit enters a region. It was activated at 12.000, at 13.000 it will have generated 1 gold to your players current gold, at 14.000 another and so on. The other trigger is activated when entering a different region after the first one is activated, at 14.500. at 15.500 it will have generated 5 gold and so on.

This will create the illusion of a money flow, unless that is something you don't want it to do, just create a general trigger for every second in gametime.

Hope message got through...

//Shadowman
 
Status
Not open for further replies.
Top