• 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!

How can I instantly switch selection of player upon selection event?

Status
Not open for further replies.
Level 11
Joined
Oct 9, 2015
Messages
721
I want to make so when the player selects the dummy I've made, his selection is redirectioned to the hero instead. However there is a little delay for that to happen, so here's the question: how can I make it switch selection instantly so the player can't see the dummy unit ?
Thanks hive!
 
Actually, you cannot, as lich said.
I know what you are asking for, because I have made the same thing, and that little delay bothers alot. Selecting dummy, and instantly reselecting another unit without that delay is impossible afaik.
 
Well, the selection event is delayed as far as I know. Not the actual selection function.
"Locust is exactly what he needs to avoid"
How can you say that when he has not stated that?

If he states the function of the dummy unit, there may be ways around diverting selection. It all really depends on what he wants the dummy unit to do, which he hasn't specified.
 
how can I make it switch selection instantly so the player can't see the dummy unit ?
Play singleplayer where network delay for synchronizing player selection is not a problem. When a player selects something the selection must be sent to the host server and then synchronized between all clients before the appropriate event can fire. This is the same reason arrow keys, esc and dialog button events all have latency.

Either that or you raise the speed of light to infinity throughout the real universe so that communication between two points in space is instant. Alternatively you could alter space time continuum so earth and everything on it is physically smaller so the speed of light covers more relative distance per unit time. Both of these would win you incredible awards for science, revolutionize the world, upset other advanced alien life and potentially destroy the universe and everything that is in it. I think you would be better off changing your game design so that selection latency is not a problem.
 
Either that or you raise the speed of light to infinity throughout the real universe so that communication between two points in space is instant. Alternatively you could alter space time continuum so earth and everything on it is physically smaller so the speed of light covers more relative distance per unit time. Both of these would win you incredible awards for science, revolutionize the world, upset other advanced alien life and potentially destroy the universe and everything that is in it. I think you would be better off changing your game design so that selection latency is not a problem.
You are epic, DGS hahahahahah :D
 
Status
Not open for further replies.
Back
Top