Help

Darkonight

New Member
Reaction score
2
Trigger:
  • Start Exp
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Spider Crab Shorecrawler
      • (Unit-type of (Dying unit)) Equal to Makrura Prawn
    • Actions
      • Hero - Add 1000 experience to (Killing unit), Show level-up graphics


It Doesnt work
 

Dirac

22710180
Reaction score
147
This trigger will only work if the unit type of the dying unit is both spider crab and makura prawn, and there are no units that are 2 types at the same time, use the "Or" condition to check for just 1 true return
 

Solu9

You can change this now in User CP.
Reaction score
216
If you want both of them to die before you get the experience the you should use the "And - multiple actions", if you want to get the experience when just one of them dies then use "Or - multiple actions"

"....multiple actions" leaves room to add more units to the conditions.
 

inevit4ble

Well-Known Member
Reaction score
38
If you want both of them to die before you get the experience the you should use the "And - multiple actions", if you want to get the experience when just one of them dies then use "Or - multiple actions"

"....multiple actions" leaves room to add more units to the conditions.
I dont think that will work because both units will have to die at the same time. You will have to use a boolean to check if both are dead rather than if both are dying
 

Solu9

You can change this now in User CP.
Reaction score
216
I dont think that will work because both units will have to die at the same time. You will have to use a boolean to check if both are dead rather than if both are dying

Yeah if he uses "And". I believe if he uses "Or" (which probably will give the most meaning) it will work. Or am I missing something?
 

djb4cc1o94

TH.net Regular
Reaction score
5
Just create 2 triggers, 1 with a Spider Crab Shorecrawler dying and another with a Makrura Prawn dying...
 

inevit4ble

Well-Known Member
Reaction score
38
Trigger:
  • And - All (Conditions) are true
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
      • (Unit-type of (Triggering unit)) Equal to Knight

Both a Footman and knight will have to die at exactly the same time or the unit is both a footmn and knight to fire the trigger
Trigger:
  • Or - Any (Conditions) are true
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Footman
      • (Unit-type of (Triggering unit)) Equal to Knight

When either a Footman or a Knight die the trigger will fire.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top