If you check the map you will see the marine works fine. The only problem is the health bar, it doesn't appear anymore.
I think is something in the turret actor , something missing, or I have to add something to make the health bar on ?
Well ya.. I know about the cost energy but that will decrease the energy and that is not what I want.
I want to just check if the building has that energy and if it does than to be able to upgrade it.
I will try the validator way. Hopefully I will get it right .
How can I add an energy requirement ?
I have a building with an ability to morph into another building. I want the ability to work if the building has that specific energy .
So ? How do I make this work ?
Can I somehow make a random pick that will use triggering information. I have the trigger made with triggering player so if I try the action pick each player that wont work so I need to try something else to make it run.
Maybe with integer or something else ? But I have no idea ...
Just the thing I was looking for. I spent so much time trying to figure it out that I almost gave up. Good thing there is someone like Kueken around :)
I read this nice explanation and the map attached. It was great and managed to fix my problem. Thank you !
Ok, I have changed it. It should, I think, check if boolean is true and if nation is on, and if it is , it can pick that nation and make it unavailable after.
The problem is that it is not running. So something is missing ... http://postimg.org/image/4ljq17hvf/full/
Before it had an action pick player and do... but that was the problem in the first place because it made me use the pick player rather than triggering player.
What is the difference? I can see that if I am using dialogues I have to use triggering player and if I use Player Group - pick each player I have to use picked player.
The thing is , I have 3 situations, 2 are using dialogues, pick nation and random nation, and 1 player group pick player, random after 2 min.
Each run the same trigger.
The trigger is kinda big so having to duplicate it and change all the lines inside from triggering player to picked player it is kinda bad... because for every change in the future I will have to do this to both .
0
ZZZZZzzzzzzzZZZZZZZ.......
0
@yukaboy: Go
Ya, I know about that one, but it is not checked . It is something in the turret actor that is missing or something .
0
Hello,
I was trying to make a unit attack while moving like a Phoenix and I have used this topic as a reference : http://www.sc2mapster.com/forums/development/data/42343-attack-while-moving-turning-unit/
And the map from that topic : http://www.sc2mapster.com/media/attachments/30/447/Marine_Turret.SC2Map
If you check the map you will see the marine works fine. The only problem is the health bar, it doesn't appear anymore.
I think is something in the turret actor , something missing, or I have to add something to make the health bar on ?
0
@DrSuperEvil: Go
Yea, that is how I wanted it to work. Don't know how to do it using the data editor.
I did it using triggers. Like this : http://postimg.org/image/qcpcsbwhn/ And it works the way I want it.
But if you know a better way using Data, then I can do that .
0
@DrSuperEvil: Go
Thank you for your help. It works great !
@silvermage: Go
You don't have to be a douchebag. I Just started editing one month ago and this is my first SC2 map.
0
@DrSuperEvil: Go
Ya.. but with Unit Compare Vital it seems I can only add effect to it, cant link it to my ability .
0
How exactly do I check the energy with the validator ?
I want it to check if it has enough or more than X energy .
0
@Demtrod: Go
Well ya.. I know about the cost energy but that will decrease the energy and that is not what I want. I want to just check if the building has that energy and if it does than to be able to upgrade it.
I will try the validator way. Hopefully I will get it right .
0
Hello,
How can I add an energy requirement ?
I have a building with an ability to morph into another building. I want the ability to work if the building has that specific energy .
0
So.. according to the photos I posted. How should this action definition look like ?
0
So ? How do I make this work ? Can I somehow make a random pick that will use triggering information. I have the trigger made with triggering player so if I try the action pick each player that wont work so I need to try something else to make it run. Maybe with integer or something else ? But I have no idea ...
0
@Kueken531: Go
Just the thing I was looking for. I spent so much time trying to figure it out that I almost gave up. Good thing there is someone like Kueken around :) I read this nice explanation and the map attached. It was great and managed to fix my problem. Thank you !
0
No ideas ??
0
Ok, I have changed it. It should, I think, check if boolean is true and if nation is on, and if it is , it can pick that nation and make it unavailable after. The problem is that it is not running. So something is missing ... http://postimg.org/image/4ljq17hvf/full/
Before it had an action pick player and do... but that was the problem in the first place because it made me use the pick player rather than triggering player.
0
Triggering player - Picked Player
What is the difference? I can see that if I am using dialogues I have to use triggering player and if I use Player Group - pick each player I have to use picked player.
The thing is , I have 3 situations, 2 are using dialogues, pick nation and random nation, and 1 player group pick player, random after 2 min.
Each run the same trigger.
The trigger is kinda big so having to duplicate it and change all the lines inside from triggering player to picked player it is kinda bad... because for every change in the future I will have to do this to both .
I will attach a photo. Maybe it will make more sense . http://postimg.org/image/x5ndc3axj/full/
Is there a way to make this work ?