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

[Trigger] Spawning in Footy Problem

Status
Not open for further replies.
Level 7
Joined
Oct 8, 2007
Messages
154
Guys Im making Footy Frenzy in all earlier versions spawn was working correctly. But something had fucked up! When enemy will destroy may base, my units are still spawning. This bug is only with Abomitions and Wendigo Shamans so only that 2 Triggers must be not ok.

Can U tell me where is the mistake?

pawnabomitionskc5.jpg


spawnabomitionsgw0.jpg


Sorry for few Polish words, i've Polish language version of Warcraft


How can I add trigger in post without making printscreens etc.?
I mean how does the command
  • works
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Since I can't understand what the hell goes up there I will not even try to help right now.

Use the [trig.ger]your trigger[/trig.ger] (without the dots) to put your trigger like it looks in your editor.

Go to the "whit page" untop the Events of your trigger, right click on it, and "Copy As Text".
Then just paste inside the trigger tags that I showed you.
 
Level 7
Joined
Oct 8, 2007
Messages
154
  • Events
    • Czas - Every 12.50 seconds of game time
  • Conditions
  • Actions
    • Grupa graczy - Pick every player in (All players) and do (Actions)
      • Loop - Actions
        • -------- Black Citadel -> Abominations --------
        • If (((Region centered at ((Picked player) start location) with size (384.00, 384.00)) contains (Random unit from (Units owned by (Picked player) of type Black Citadel))) RĂłwna siÄ™ TAK) then do (Jednostka - Create 1 Plugastwo for (Picked player) at ((Picked player) start location) facing DomyĹ›lna orientacja budynku degrees) else do (Do nothing)

Where is the mistake plz help me
 
Last edited:
Level 5
Joined
Dec 17, 2007
Messages
145
We can't tell you where the mistake is with a single trigger!

If you ask me you probably made a mistake in that massive GUI string. And since most of it is in Polish, it's hard to tell where the mistakes might be.

If you ask me again, I'd say the "Random unit from (Units owned by (Picked player) of type Black Citadel" might be the problem, but then there's a jumble of text I can't read.


And btw, "Where is the mistake plz help me" won't usually get people to help you. So I'd stop while you're ahead and learn to post coherently.
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Lol, the moment I looked at it I thought "Whats the story of that random citadel?".

You should use variables you know... they never bug >.<

Since this is footy, I presume bases are set when the player chooses a race and then they can't ever be replaced.
Terefor when you create a base set it into a unit variable, and then instead of starting to pick units in a region, just do a condition "If Base[x]" is alive then bla bla bla".
 
Status
Not open for further replies.
Top