• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Is it ok to use ((wait)) trigger in single player game? {{SOLVED}}

Status
Not open for further replies.
Level 4
Joined
Dec 22, 2016
Messages
67
Hi all,as title says , I am creating a single player hero defence and for some hero spells I use ((wait)) trigger (I think I know how to make it MUI but I think that's not necessary since in that map there never will be more than player , so why should I make trouble to myself?).

Also I wanted to know if it's a multi player map but when a player picks a hero others can't pick that , in this situation will ((wait)) trigger cause problems (in a case that a single spell can't be used by two players)?
 
Last edited:
wait is dependant on your computers measurement of time

where as wait in game is a time agreed upon by all the computers connected to the game

meaning that wait is ok for single player but multiplayer absolutly needs wait in game.

I hope this answers your question
 
As long as you're the only player whose slot is being used, I guess so.

(This may be untrue) However, if even just one player aside from you, e.g. the computer player or human player, is in the game (which means that another slot is used), the wait function would be prone to desycns, which means that whatever you're experiencing is different from what the computer player or human player is experiencing.
 
wait is dependant on your computers measurement of time

where as wait in game is a time agreed upon by all the computers connected to the game

meaning that wait is ok for single player but multiplayer absolutly needs wait in game.

I hope this answers your question
TNX a lot. But why computers measurement of time shall be different? I mean second is second how can it be different in my pc to yours?
 
As long as you're the only player whose slot is being used, I guess so.

(This may be untrue) However, if even just one player aside from you, e.g. the computer player or human player, is in the game (which means that another slot is used), the wait function would be prone to desycns, which means that whatever you're experiencing is different from what the computer player or human player is experiencing.
Tnx a Lot
 
TNX a lot. But why computers measurement of time shall be different? I mean second is second how can it be different in my pc to yours?
Your computer might have a fraction of a nano second difference in it's measurement of a second, or it might say a second past NOW while another computer is still waiting for a second to pass(again a fraction of a nano difference).

Still it is better to always use the wait in game timer as it doesn't count on the computers time but the game time
 
Status
Not open for further replies.
Back
Top