• 0

    posted a message on Using the data editor's Find/Replace function?

    Ok, so how would I go about setting up the buttons to work with the arrays? I think that's the last thing that's stopping me from getting this working.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Trigger, Beginner] Variables, Arrays, Constants, "If" statements and Functions.

    So after following this, I got to work just fine, but how would I go about applying this to something like dialog items?

    Posted in: Tutorials
  • 0

    posted a message on Using the data editor's Find/Replace function?

    I very well might end up doing that - which is fine because it will make everything a LOT easier if I decide to make the mod 4 players rather than just 2 players as it's going to be right now. I just didn't know there was an easier way of accomplishing what I was looking to do. As of right now there's between 75-125 buttons in a dialog window for *EACH* player. If I bring it up to 4 players it will require that each person has access to 3 dialog windows - which is an absolute headache waiting to happen. I'm gonna have to start messing around with arrays and see if I can accomplish what I'm trying to do - will be something that I try to tackle today.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Using the data editor's Find/Replace function?

    Hey everyone. I have a TON of triggers that I need to edit. If I was able to quickly edit them in the code editor and have the edits apply that way I would be in heaven, but I haven't found a way to do this yet so for now I'm SOL (I originally made all of the changes I needed and it took me about 20 minutes in notepad, but I wasn't able to have anything work that was changed). I want to turn 4-5 hours of work into 20-30 minutes of work (556 Actions, 100 conditions, 557 Function Calls, 202 variables that have to be duplicated and changed individually by hand for the second player). Is there any way to use the trigger editor's Find/Replace function? As of right now I haven't been able to use it appropriately. It finds what needs to be changed but doesn't do any replacing. For instance, I want to change:

    Dialog - Hide btn_a1 for (Player group((Triggering player)))

    Dialog - Hide btn_a2 for (Player group((Triggering player)))

    Dialog - Hide btn_a3 for (Player group((Triggering player)))

    Dialog - Hide btn_a4 for (Player group((Triggering player)))

    to

    Dialog - Hide btn_b1 for (Player group((Triggering player)))

    Dialog - Hide btn_b2 for (Player group((Triggering player)))

    Dialog - Hide btn_b3 for (Player group((Triggering player)))

    Dialog - Hide btn_b4 for (Player group((Triggering player)))

    etc. As it stands now, I have to go in and double click the button name, find it in the list of 200 buttons and then choose it, have the editor refresh the code, and then move on to the next line. Any ideas on what to do for this or am I looking at a lot of mind-numbing work ahead of me? I'm probably not doing this as efficiently as I could be doing but I suppose that's the problem with not being a programmer.

    Help me SC2MAPSTER, you're my only hope...of keeping my sanity during this process haha. -Helix

    Posted in: Miscellaneous Development
  • 0

    posted a message on Making a different dialog open depending on player?

    Nevermind, figured it out.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Making a different dialog open depending on player?

    @Helral: Go

    So then with the Picked player I would just put the player number in? (would Player one be a value of 0 or a 1 in this case?) Or am I at it all wrong.

    But yea, I'd like to have a completely different set of dialog options for each player. For instance you have a math game (yea I know): Player 1's buttons: 1+1 = 2 1+1 = 3 1+1 = 4

    Player 2's buttons: 2x2 = 2 2x2 = 4 2x2 = 6

    Player 3's buttons: 1+4 = 6 1+4 = 5 1+4 = 4

    Etc. It then goes turn based for each of the players. When each of them answer their question, the dialog for the next player appears.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Making a different dialog open depending on player?

    Hey guys, another question since I'm still very much learning. How would I go about displaying a specific dialog depending on the player? Ie Player 1 has 1 dialog window, player 2 has another, etc.

    Thanks in advance, Helix

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Not searching anymore] CardCraft SC - Looking for a 2d Picture Artist

    If you'd like to - check out my portfolio: http://www.1217design.com and if interested, send me a private message or email at: misc AT 1217design DOT com.

    Posted in: Artist Tavern
  • 0

    posted a message on Creating a button/UI event only if damage is done?

    Yea, when I get outta work I'll have to try it out and see how it works. Right now I'm just able to edit stuff in the code editor while at work.

    Thanks!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Creating/Editing Triggers in a text editor?

    Once I'm done I take it I just compile it all for it to show up in the galaxy editor? I'm fine with working within the editor's code portion though, I just wanted to be able to work with the text to substantially expedite my process.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Creating a button/UI event only if damage is done?

    Ok, say for instance I have a button that does an attack at point 1, if that attack successfully does damage, UI Function A/Button A occurs/appears. If no damage is done by that attack, UI Function/Button B occurs/appears.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Creating/Editing Triggers in a text editor?

    Is it possible to create and or edit triggers in a text/xml editor? With 1 project that I'm working on it would be unbelievably quicker to do these edits and creations inside of a text editor rather than inside the Galaxy Editor itself. Mainly because SC2's editor doesn't support tabbing from 1 data field to the next. If it is possible, how would I go about doing these edits in a text editor?

    Thanks! Helix

    Posted in: Miscellaneous Development
  • 0

    posted a message on Creating a button/UI event only if damage is done?

    Hey guys, just wondering if there's a way to create a button or ui event/effect only if damage is done at a specific point/in a specific region? IE: I press button 1, and if damage at point/region 1 occurs, a new button (button a) is created. If no damage occurs, button b could be created instead. Alternates to this would be creation of a UI event saying "Damage occured at point 1" or something.

    Is there any way to do this? And if so, how?

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do I make a map partially turn-based?

    Awesome guys. Thanks for that!

    Posted in: Miscellaneous Development
  • 0

    posted a message on How do I make a map partially turn-based?

    Hey everyone. I want to have 2 phases of a game: An initial ffa section followed by turn-based gameplay for the remainder of the map (in a way, a reverse order of 1 of the DoTA modes when you pick your hero first then play second). Once everyone makes selections, etc, and clicks their own Ready button, it would then transfer to the turn-based portion for the remainder of the game. How would I go about accomplishing this?

    Thanks in advance, Helix

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.