• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Set level of ability glitch?

Status
Not open for further replies.
Well, take a look at my 2 triggers. The first one works fine, but the other one just won't set the units ability to 2, 3, 4, 5, 6, 7, 8, 9, 10, etc.


First.
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Current research level of Increase Damage [+1] for (Owner of (Trained unit))) Greater than 0
    • Then - Actions
      • Unit - Add Unit Damage Bonus to (Trained unit)
      • Unit - Set level of Unit Damage Bonus for (Trained unit) to (Current research level of Increase Damage [+1] for (Owner of (Trained unit)))
    • Else - Actions
Second. (This one don't work)

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Current research level of Increase Hitpoints [+1] for (Owner of (Trained unit))) Greater than 0
    • Then - Actions
      • Unit - Add Unit Life Bonus to (Trained unit)
      • Unit - Set level of Unit Life Bonus for (Trained unit) to (Current research level of Increase Hitpoints [+1] for (Owner of (Trained unit)))
    • Else - Actions
Well, what's the problem? ^o)
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
It is the same trigger... so I think the problem must be:

1. The lifebonus ability? Have you added the other levels?
2. Does the first level work? Not sure but it could be that a unit can't have more than a certain number of abilites
3. It is the upgade... But I don't know what the error could be here.
 
It is the same trigger... so I think the problem must be:

1. The lifebonus ability? Have you added the other levels?
2. Does the first level work? Not sure but it could be that a unit can't have more than a certain number of abilites
3. It is the upgade... But I don't know what the error could be here.

1. Ofc, I've added the other levels (1-50)
2. Yes, the first level works, but the others don't.
3. I seriosly don't think it's the upgrade's problem... But who knows.
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
Last edited:
Status
Not open for further replies.
Top