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

[JASS] Players Non-Existent But Showing Up

Status
Not open for further replies.
Level 4
Joined
Mar 20, 2014
Messages
67
Hey there,
I have this problem, in the beginning of my map I loop through the players there, and give them units if they're there. I tried both using the
JASS:
GetPlayers()
native, as well as the
JASS:
(GetPlayerController(Player(i)) == MAP_CONTROL_USER)
functions.

Why is it that it still creates things for the players that are non existent? Is it something to do with the forces? What could it be? It's very aggravating. If you want the whole Map Init trigger I'll post it but it's a lot of things you wouldn't understand, (My own variables).

Is there something I'm missing?
Thanks!
- Zach
 
Level 4
Joined
Mar 20, 2014
Messages
67
Just because I don't want to spam the forms I have one more question. Is there a way to set a countdown timers time to expire?
 
Just because I don't want to spam the forms I have one more question. Is there a way to set a countdown timers time to expire?

Not really (at least, there is no native for that).

If you know which function it is going to call, you can always pause it and then start it again with a 0 second duration, but otherwise you'll need something else.

If you elaborate a bit on what you're trying to do, maybe there is a better option.
 
Status
Not open for further replies.
Top