Something went wrong

deathwarrior

New Member
Reaction score
2
i have made a trigger that alows the user to type in a certain word and it will give their hero extra experience. the only problem is that every time i type in the word it closes the whole thing.

i am completely stumped. i need help. :banghead:
 

deathwarrior

New Member
Reaction score
2
events- player - player 1 (red) types a chat message containing (Name of current trigger) as An exact match

Conditions- ((Triggering unit) is alive) Equal to ((Triggering unit) is selected by Player 1 (Red)

Actions- Game - Preload (Name of current trigger)
Trigger - Run (This trigger) (checking conditions)
Hero - Add (10000 + 1) experiance to (Triggering unit), Show level-up graphics

thats it what wrong with it? if u have better trigger can u show me?
 

Firezy

New Member
Reaction score
14
Trigger:
  • Your Trigger
    • Events
      • Player - Player 1 (Red) types a chat message containing whatever as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) is selected by (Owner of (Matching unit))) Equal to True))) and do (Actions)
        • Loop - Actions
          • Hero - Add 1000 experience to (Picked unit), Hide level-up graphics


not leak checked or whatever
 

deathwarrior

New Member
Reaction score
2
i am having trouble making the unit group action. i can make the first part

Unit Group - Pick every unit in (Units in (Playable map area)

but then it just does this

Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)

:confused::confused::confused::confused::confused::confused::confused::confused::confused:
 

Firezy

New Member
Reaction score
14
go to the dropdown it should say "Units in Region" change it to "Units in Region Matching Condition", you'll need 2 conditions so you should make "And" and it will create Condition 1 and Condition 2
 

deathwarrior

New Member
Reaction score
2
thanks so much it worked perfectly the only thing is that the hero only goes up to lvl 10. how do i change that???

thanks heaps with the trigger:thup:
 

Chewbalka

New Member
Reaction score
14
advanced > gameplay constants > hero - maximum level

advanced is a tab in world editor near file edit etc..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top