Transcriptions for Melee Game Triggers into GUI

komapatient

New Member
Reaction score
10
Is there any possibility to express all of the Melee Game Triggers called at Map Init on Melee Games to display in GUI?

I am especially interested into the 'Create starting units for all players' and Enforce defeat/victory conditions'.

I am pretty sure, each of those Melee Game triggers have to content of several triggers.

So - any source to see if there are GUI translated versions of at least these two?
 

Azlier

Old World Ghost
Reaction score
461
Those ARE the GUI versions. In JASS they're an gigantic stack of BJ's. Too gigantic.
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
Melee triggers are what we call BJ's, or functions that only run other functions.

'Create starting units for all players' is pretty much just a Pick every player in (All Players) and checks if theyre playing. If so, it then does 4 If then elses, each with a different race, like "If race of picked player == human then do create 5 peasants and 1 town hall" "else if race of picked player == undead then do create 3 acolytes, 1 ghoul, 1 haunted mine and 1 necropolic" etc.

'Enforce defeat/victory conditions' is a little more complicated. It creates a bunch of different triggers for various purpose. One for game end, one for player leaving, etc. I'm not sure what they all do. Maybe someone else could tell you.
 

komapatient

New Member
Reaction score
10
I am fully aware of this - but:

Was there ever anyone who dared to reconstruct these triggers into GUI?

For example to exclude that '(for all players)'. So to say, let those defeat conditions be only true for player 1-4 and player 5 won't be affected by it.

I am asking because I want to modify a melee map - by exactly keeping those rules applied to only a specific number of players.
 

sentrywiz

New Member
Reaction score
25
amm

i deleted my entire post cuz im sleepy and misunderstood your thread. but ill keep it simple.

idk of guys who dared to do this, but its not really much complex. when i have time, ill experiment something on my own. and those 7-8-9 lines that a melee map has, i will try reconstruct them in gui with different demands.

the only difference it will be, my triggers wont be just 7 simple lines added to each melee map, they will be 7 folders with 1-3 triggers for each trigger. but ill do it.

thats all there is. its simpler to just add those lines than make ones yourself. why bother shrink an elephant to have a small animal when you can just take a mouse.
 

komapatient

New Member
Reaction score
10
Well, you see. I tried this as well but I get a real headache with the starting units trigger for example.

You need to locate the nearest gold mine and place 5 peasants (3 acos respective) in a circle between your TH and the mine. I worked around with offsets but when you don't know the correct values of each position it's a bit frustrating.

Anyways, thanks for your reply - I am really looking forward to it!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top