Edit:
Ok, I realized I messed up my triggers. I rewrote some stuff and viola the learn ability works. Now I just need to add the level and learned ability. I thought about multidimensional arrays, what do you think?
Here are the basics:
- Behaviour Based Veterancy
- Trigger Based Ability learning: Issue Order ... Learn ABILITY
Well, I actually CAN set ability levels by triggers. But I cannot trigger the learn xy ability - thats right.
So I have to change to another system - any suggestions? :)
Yep, noticed this myself. Seems like a bug with the revive function for me (maybe it creates a new unit and gives experience to it?).
Workaround: Set a global boolean variable, which, when active, makes the next lvlup action to be ignored. Set this to true, before you revive the hero.
Yea, already did this. I just wanted to point it out. :)
My leveling is quite simple. I got a veterancy behaviour that gives me a point to spend each time I level up. I also thought about a vespine based leveling. So everytime I get a level, I recieve some vespine to spend on abilities.
But then again: How can I save these levels? The actual experience / veterancy is saved - but not the learned abilities.
Currently I try to get my bank to work as I want it to do.
I managed to store and restore units and its killcount.
But there is one thing I am, for whatever reason, unable to achieve. As soon as my hero levels, he is able to choose a new ability or upgrade an existend one (DotA-Style) but as soon as he dies and respawns or I save and restart the game, the ability is gone but I therefore got a point to spent. Any ideas for this one?
Stuff
I "discovered" some sort of issue with the Action "unit gains expierience level". I am quite sure that I am not the first on who realize that.
I wanted to give my hero a reward for each level he gains - vesp and mins.This works fine.
But as soon as he respawns or the game is restarted, he immediately gains this reward. So after every death, he gains an extra bonus of ressources. I looked it up and - yeah - the reward trigger is triggered after every spawn. So, is my trigger broken or is this action itself not working properly.
Thanks in advance.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@nThrX: Go
Btw:
Any help or other suggestions are welcome! :)
@Kueken531: Go
Tried this already - no change:
Hmph, so I have to to rewrite it?
Edit: Ok, I realized I messed up my triggers. I rewrote some stuff and viola the learn ability works. Now I just need to add the level and learned ability. I thought about multidimensional arrays, what do you think?
Here are the basics: - Behaviour Based Veterancy - Trigger Based Ability learning: Issue Order ... Learn ABILITY
@Kueken531: Go
Yep, tried this just now, does not work. Either way I am doing something completely wrong or it just does not work. :P
Tested it on a Zergling
@Kueken531: Go
Well, I actually CAN set ability levels by triggers. But I cannot trigger the learn xy ability - thats right. So I have to change to another system - any suggestions? :)
@BasharTeg: Go
I would welcome any way to solve my problem. Do you got any suggestions on how to do so? Perhaps any links or tutorials?
Btw. enabling / disabling abilities does not even work, if the already "owns" an ability. Strange stuff o0
@BasharTeg: Go
Enabeling the ability does not work, because the ability was not disabled - it is just not learned.
Maybe I am doing sth. wrong? I wanted to enable it after the Unit is restored - did not work.
Yea, already did this. I just wanted to point it out. :)
My leveling is quite simple. I got a veterancy behaviour that gives me a point to spend each time I level up. I also thought about a vespine based leveling. So everytime I get a level, I recieve some vespine to spend on abilities.
But then again: How can I save these levels? The actual experience / veterancy is saved - but not the learned abilities.
Hi, I got some questions - once again.
Banks
Currently I try to get my bank to work as I want it to do. I managed to store and restore units and its killcount.
But there is one thing I am, for whatever reason, unable to achieve. As soon as my hero levels, he is able to choose a new ability or upgrade an existend one (DotA-Style) but as soon as he dies and respawns or I save and restart the game, the ability is gone but I therefore got a point to spent. Any ideas for this one?
Stuff
I "discovered" some sort of issue with the Action "unit gains expierience level". I am quite sure that I am not the first on who realize that. I wanted to give my hero a reward for each level he gains - vesp and mins.This works fine.
But as soon as he respawns or the game is restarted, he immediately gains this reward. So after every death, he gains an extra bonus of ressources. I looked it up and - yeah - the reward trigger is triggered after every spawn. So, is my trigger broken or is this action itself not working properly.
Thanks in advance.