- Joined
- Mar 2, 2010
- Messages
- 3,069
please dont make fun of my topic. i have already tried to create a starcraft 2 version of the map but i couldnt save it. i need knowledge on how to create the system that i created in that warcraft 3 map in a starcraft 2 map. i need information that i dont have so i marked the topic with need info. please help me out.
What is a point?show points generated by text commands
I did and all I saw was a bunch of random triggers with no real comments explaining what they do and no meaningful names.you could have just checked the warcraft 3 map but since you didnt i will tell you myself.
Maybe you are just not finding it? I used string comparisons twice in the example map I attached above. Like you wanted, 1 trigger for all commands (the other trigger was for data initialization).i can only find conditions for units and items which is kind of limiting. i was hoping to place all of the text commands in one trigger but that requires a string condition(string comparison) and there is none. do you know why blizzard removed it.(it was in warcraft 3)
Because they are not limited at all. Just apparently they have usability problems for some people.do you know or do you not know why blizzard limited the conditions so much in starcraft 2.(i just want to know.)
Well then use a comparison of an appropriate type? It should be noted that you can do a case sensitive string compare using a simple '=='/'!=' comparison. For case insensitive comparision you need to use the native which returns a boolean that you test..i am dealing with neither units nor items here so that prevents me from using conditions.
Maybe you should look at the example map I made? It shows one way of putting all commands in a single trigger.i am however in the process of placing each command in a different trigger so i only lost a little work.
i can only find conditions for units and items which is kind of limiting. i was hoping to place all of the text commands in one trigger but that requires a string condition(string comparison) and there is none. do you know why blizzard removed it.(it was in warcraft 3)
Apparently you do since what Statharas posted is exactly what the StarCraft II Editor does for everyone. I can confirm this with the a moderator over at SC2 Mapster if you want extra opinions.i dont use hacked editors but i dont mind using separate triggers
Have you bothered to open the map I posted earlier? I refuse to help you any further answering questions I already answered in the map that you seem to be refusing to open. If you do not at least open the map and try and look at it I am afraid I will need to consider this a huge troll and will not be able to help you any further and may even seek action against you for wasting my time that I could have used helping other people who do listen and look at examples I give them. Maybe if I make this link text long enough you will not miss it like last time. I really am trying to help but you seem to not be getting anything people are saying...i need to know how i can convert an integer to string and then display that in a leader board since starcraft 2 dont seem to have multiboards yet.
CLI
Events
Game - Player Any Player types a chat message containing "-", matching Partially
Local Variables
index = 0 <Integer>
command = (Word 1 of (String((Entered chat string)) as Lower Case)) <String>
Conditions
((Substring((Entered chat string), 1, 1)) is equal to "-" (Insensitive to case)) == True
Actions
General - Switch (Actions) depending on command
Cases
General - If ("-newday")
Actions
General - For each integer index from 1 to TASK_N with increment 1, do (Actions)
Actions
Variable - Set Task Complete[index].done today = False
UI - Display "Day advanced." for (All players) to Subtitle area
Default
General - For each integer index from 1 to TASK_N with increment 1, do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(command is equal to Task Complete[index].command code (Insensitive to case)) == True
Then
General - If (Conditions) then do (Actions) else do (Actions)
If
Task Complete[index].done today == False
Then
Variable - Modify Points: + Task Complete[index].point value
Variable - Set Task Complete[index].done today = True
Leaderboard - Set Task Leaderboard item text at column 2 and row 2 to (Text(Points))
UI - Display "Task done." for (All players) to Subtitle area
Else
General - Break
Else
So this entire thread is you trying to get back at me for something I never did? When I was a moderator there was not really any facility to mark people as "problematic" next to when some moderator noticed a trend representing that person and even then few did. Generally moderation was very binary, at least back then but who am I to comment as technically I was problematic.good for you that i have been forbidden from reporting users. if i report someone i get banned right away. dont you think you have harmed me enough already.(you got me marked as problematic for months.)
Right click and add new element. This only applies for the multiple if then else if else statement. For standard else you just declare the final element with no condition which is kind of neat and sadly slightly unobvious to new users.if then else is empty so i cant use it for anything yet
I am guessing you must be using a beta or alpha editor then since these "limitations" do not exist in the current version of StarCraft II. I advise downloading the battlenet app an then logging in with your BattleNet account. Select StarCraft II from the game selection menu on the left and click play (or install). If it has done patching, installing and any other sort of setup you will be using the same version of the editor as I do (and most people do) which supports everything described above including opening the demo map I gave you which you seem to still be ignoring. This is the "official" version of the editor as it is installed and updated along with StarCraft II, based on the current live version provided by Blizzard.i use only legal editors and that leaves me with certain limitations. please provide a solution that is within those limitations.
We will not help you with non-current official versions of the editor. This includes recently obsoleted versions of the editor or hacked versions that try to bypass the verification process Blizzard has in place. If you want to use the editor you will need to buy the game as I do not think the Arcade pass covers full use of the editor.i cant find what people are suggesting because of editor limitation. please provide a solution that works in the editor i have.
Bumping this so he sees it. (Just because I can!)Good. Now launch it. Then download this. The map that Supergood gave to you.
Now in the Editor. Follow these simple steps.
1. Put the downloaded map in the same map folder as your other maps are.
2. Click Open...
3. Select the map that Supergood made for you. Then click on OK button.
4. You should be here, then something went wrong. Repeat steps 1-3.
5. Open the Trigger Editor (F6). You should now be in the trigger editor.
6. Select a trigger. Look at what the trigger says.
7. If in doubt, make a post here or use this magical search engine. Or use one of your own choice.
Theeeen why don't you toy around with it to learn it better like we did? I literally opened up the editor in class (haven't used it since I tested out the footman model me and blinky worked on) and opened up the trigger editor and set the conditions accordingly.my editor is called starcraft II editor and came with the game.
Was shown, not suggested. Look again or search for it.i tried the all category but i didnt find what was suggested.
Text has nothing to do with the play field. If you read my PM I explain clearly that a text instance is just a localized string that is not deterministic between clients so cannot affect gameplay but can affect what users see (as that is also not deterministic).one thing i still dont understand however is how i can store a text in a text variable and then remove it from the field later.
Please comeback when you are using only the most recent version of the editor which does have all that stuff in. We will only help you with the official editor that can do all the stuff we have been describing. If your editor can already do that then good, if not then reinstall and re-download all 8-12 GB of game files.my editor is up to date i believe.(version 2.1.1) i can however update it without logging in so i only need to log in when i want to play online. the editor is still incomplete so the trigger have a choice that is listed as not yet implemented. i keep my editor updated so it should be recent enough.