Easy Mode

shady

Member
Reaction score
7
Trigger:
  • easy mode
    • Events
      • Player - Player 1 (Red) types a chat message containing -fm as An exact match
      • Player - Player 1 (Red) types a chat message containing -funmode as An exact match
    • Conditions
    • Actions
      • Game - Display to (All players) for 10.00 seconds the text: |cffffff00Fun Mode ...
      • Set UnitGroup = (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True))
      • Unit Group - Pick every unit in UnitGroup and do (Actions)
        • Loop - Actions
          • Trigger - Turn on Level UP <gen>
          • Trigger - Turn on Free Gold <gen>
          • Trigger - Turn off Passive Gold <gen>


Please help.My idea is when P1 types -fm or -funmode, trigger to active fun mode.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Why do you pick all of those units ?!
You should only turn on the triggers once ;)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, have you shown the entire trigger there, to start with ? Cause it currently leaks :p (Just a paranthesis ;))

Anyways, what I meant was that you pick all of those units, and for each and every one of them you turn on two triggers, and off one... Doesn't that seem quite bad to you ?

I'd recommend you remove that unit-group loop or simply move those three trigger-related actions outside it (If that isnät the whole trigger :S)
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
Take the "Trigger - Turn On/Off" outside of the Unit Group. You don't need the Unit Group.
 

shady

Member
Reaction score
7
Doesn't that seem quite bad to you ?

I'm new with triggers, I don't know, but I think yea, but don't know what causes leaks.

I'd recommend you remove that unit-group loop or simply move those three trigger-related actions outside it (If that isnät the whole trigger :S)

I already tried to remove loop action and it was the same. I'll try again and yea this is the whole trigger.
 

BruteBrutal

New Member
Reaction score
1
I'm sorry for the thread-pirateing, but it's too similar to start a new thread and maybe it can even help the original creator? My "Hard" mode looks like this.

It's set to give 100 gold instead of 500 and the idea of my first action is to give command aura or brilliance to all Neutral Hostiles on the entire map. For some reason it's not working, anyone know why?


Trigger:
  • Hard
    • Events
      • Dialog - A dialog button is clicked for SelectDiff
    • Conditions
      • (Clicked dialog button) Equal to DialogButton[2]
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
        • Loop - Actions
          • Unit - Add Brilliance Aura (Neutral Hostile) to (Triggering unit)
      • Player - Set Player 1 (Red) Current gold to 100
      • Player - Set Player 2 (Blue) Current gold to 100
      • Player - Set Player 3 (Teal) Current gold to 100
      • Game - Display to (All players) the text: |cffffcc00DIFFICUL...
 

shady

Member
Reaction score
7
I'm sorry for the thread-pirateing, but it's too similar to start a new thread and maybe it can even help the original creator? My "Hard" mode looks like this.

It's set to give 100 gold instead of 500 and the idea of my first action is to give command aura or brilliance to all Neutral Hostiles on the entire map. For some reason it's not working, anyone know why?


Trigger:
  • Hard
    • Events
      • Dialog - A dialog button is clicked for SelectDiff
    • Conditions
      • (Clicked dialog button) Equal to DialogButton[2]
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
        • Loop - Actions
          • Unit - Add Brilliance Aura (Neutral Hostile) to (Triggering unit)
      • Player - Set Player 1 (Red) Current gold to 100
      • Player - Set Player 2 (Blue) Current gold to 100
      • Player - Set Player 3 (Teal) Current gold to 100
      • Game - Display to (All players) the text: |cffffcc00DIFFICUL...

Here is your problem:

When Loop you choose Triggering unit, but in unit group you choose Pick every unit

Trigger:
  • Hard
    • Events
      • Dialog - A dialog button is clicked for SelectDiff
    • Conditions
      • (Clicked dialog button) Equal to DialogButton[2]
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
        • Loop - Actions
          • Unit - Add Brilliance Aura (Neutral Hostile) to (Picked unit)
      • Player - Set Player 1 (Red) Current gold to 100
      • Player - Set Player 2 (Blue) Current gold to 100
      • Player - Set Player 3 (Teal) Current gold to 100
      • Game - Display to (All players) the text: |cffffcc00DIFFICUL...


Must be like that. :)
 

esb

Because none of us are as cruel as all of us.
Reaction score
329
Are Level Up and Free Gold Initially Off? And Enabled?

It might be a problem with Free Gold and Level up then.
 

shady

Member
Reaction score
7
Are Level Up and Free Gold Initially Off? And Enabled?

It might be a problem with Free Gold and Level up then.

yea, of course they are Initially Off, passive gold is Initially On, that's the point of the trigger, to turn free gold and level up Initially On and passive gold Initially Off.



My problem is when i active -fm level up is active, but free gold and passive gold are Disabled ( Initially Off )
 
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