[Trigger] A trigget Fill up

Status
Not open for further replies.
Level 7
Joined
May 18, 2010
Messages
264
Yo hello to evry1 again. im kinda stuck here with theese trigers
  • Stats sistem
    • Events
      • Time - Elapsed game time is 3.00 seconds
    • Conditions
    • Actions
      • Dialog - Change the title of STATS to Your got stat point...
      • Dialog - Create a dialog button for STATS labelled Cancel
      • Set STATS_words[1] = (Last created dialog Button)
      • Dialog - Create a dialog button for STATS labelled Strenght
      • Set STATS_words[2] = (Last created dialog Button)
      • Dialog - Create a dialog button for STATS labelled Agility
      • Set STATS_words[3] = (Last created dialog Button)
      • Dialog - Create a dialog button for STATS labelled Inteligence
      • Set STATS_words[4] = (Last created dialog Button)
  • Stats Run
    • Events
      • Player - Player 1 (Red) types a chat message containing -stats as An exact match
    • Conditions
      • (Player 1 (Red) Current lumber) Greater than 0
    • Actions
      • Dialog - Show STATS for Player 1 (Red)
  • Stats adding
    • Events
      • Dialog - A dialog button is clicked for STATS
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to STATS_words[1]
        • Then - Actions
          • Dialog - Hide (Clicked dialog) for (Triggering player)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to STATS_words[2]
            • Then - Actions
              • Hero - Modify Strength of (Last created unit): Add 1
              • Dialog - Hide (Clicked dialog) for (Triggering player)
            • Else - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Clicked dialog button) Equal to STATS_words[3]
                • Then - Actions
                  • Hero - Modify Agility of (Last created unit): Add 1
                  • Dialog - Hide (Clicked dialog) for (Triggering player)
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • (Clicked dialog button) Equal to STATS_words[4]
                    • Then - Actions
                      • Hero - Modify Agility of (Last created unit): Add 1
                      • Dialog - Hide (Clicked dialog) for (Triggering player)
                    • Else - Actions
Ok i need to make it for evry player not only player red (7 players actualy)
and other help acepted how to make it shorter or and bether TH infront
 
  • Stats Run
    • Events
      • Player - Player 1 (Red) types a chat message containing -stats as An exact match
      • Player - Player 2 (Red) types a chat message containing -stats as An exact match
      • AND SO ON...
    • Conditions
      • (triggering player Current lumber) Greater than 0
    • Actions
      • Dialog - Show STATS for triggering player
also, this will not work
Hero - Modify Strength of (Last created unit): Add 1

coz there's no 'Last Created Unit'
 
Level 7
Joined
May 18, 2010
Messages
264
If every player has only one hero, you can create u unit array called Heroes.

In the beginning, set Heroes[1] = P1 hero, Heroes[2] = P2 hero and so on.

In the dialog trigger, increase the stat of Heroes[Player number of triggering player].

Nice ok thx both... i was avare of my mistakes... i posted my problem aniway.
+ReP

EDIT:
  • Stats heroes
    • Events
      • Time - Elapsed game time is 50.00 seconds
    • Conditions
    • Actions
      • -------- All heroes if not picked will random now and new area will open --------
      • Game - Display to (All players) the text: Now tipe -stats to ...
      • Set Heroes[1] = (Last created unit)
can i do it some easy way
or most i when hero picked set him as hero for owner the player...
and so on ? or ani easyer way to set heroes?

EDIT: and once again dont look on last created unit ... just trijing to get WOOT i tipe there? or put?
 
Level 7
Joined
May 18, 2010
Messages
264
I suggest running your resources & posts through a spell-checker. Typo's in-game are a bit of a mess.

uhm ... try telling me that in language i can understand
game dispalay to all players is buggy? from all my maps i never got a error in it..
and spell-checker whats that a page ? som custom sistem?

EDIT: IMPORTANT
im still stuck at setting heroes.... and when (dialog button clicked) add str how i check whyc player hero to add str??

EDIT OK DONE FINISHED WORKING THX ON HELP
 
Last edited:
Level 7
Joined
May 18, 2010
Messages
264
Spell-Checker

Check the spelling of things before you type.
- dispalay
- som
- sistem

Is English your native language?

I wish it would ... but nope i dont eaven study it at school >(FAIL)<
learned online and some tw shows .. thats why its so horrible for som1 who knows english
THX TO ALL i done it thx ..+rep
 
Status
Not open for further replies.
Top