SpasMaster
Hosted Project: SC
- Joined
- Jan 29, 2010
- Messages
- 1,986
Hello everyone.
I will need a help with fixing a trigger. So, I wanted to create a new system for my map. How does it work? Well, every level you gain a point (variable,real). After pressing ESC, a dialog pops up where you can spend the point you gained and increase a stat for your hero. The Dialog buttons are for armor, health, mana, etc..
It worked fine for the armor. After pressing the "increase armor" dialog button I give an action to add an item ability to increase armor. The trigger was right, everything worked as intended.
Then came the health. I copied the armor trigger, pasted it and changed the variables, and abilities where needed with health instead of armor.
The trigger works like that: First time you click on a dialog button (armor for example) it adds the ability to your hero. This trigger turns itself off and turns another one on, which is the same but it doesnt add the ability but levels it up.
What happened? Well, I could add the ability but I couldnt level it up.
My questions are:
1.Health increasing abilities cant be leveled up? (And no, the trigger should be right as the same thing works for armor)
2.If they really can't be leveled then is there another way to increase the health of the hero? (No, I don't want to increase Strenght)
EDIT: Adding Screenshots.
Note again: The same triggers for armor work!
I will need a help with fixing a trigger. So, I wanted to create a new system for my map. How does it work? Well, every level you gain a point (variable,real). After pressing ESC, a dialog pops up where you can spend the point you gained and increase a stat for your hero. The Dialog buttons are for armor, health, mana, etc..
It worked fine for the armor. After pressing the "increase armor" dialog button I give an action to add an item ability to increase armor. The trigger was right, everything worked as intended.
Then came the health. I copied the armor trigger, pasted it and changed the variables, and abilities where needed with health instead of armor.
The trigger works like that: First time you click on a dialog button (armor for example) it adds the ability to your hero. This trigger turns itself off and turns another one on, which is the same but it doesnt add the ability but levels it up.
What happened? Well, I could add the ability but I couldnt level it up.
My questions are:
1.Health increasing abilities cant be leveled up? (And no, the trigger should be right as the same thing works for armor)
2.If they really can't be leveled then is there another way to increase the health of the hero? (No, I don't want to increase Strenght)
EDIT: Adding Screenshots.
Note again: The same triggers for armor work!
Last edited: