I have a projectile ability that needs to be targeted at the ground, so what I did was added a key-press to cast the ability.
When I select (Ability Command) targeting (Unit) it works, but I can't seem to get it to show up when I do (Ability Command) Targeting (Point). Anyone have an idea on how to fix this?
I've tried adding a simple button linked with the unit, and it ends up working, but the guy just stands there, turning towards the direction of my mouse when I press the button
You have added it to the unit command card and it is not showing ingame? This points to you not having given the unit the ability to use in the field above the command card.
You have linked a button to the unit through some other means?
Your ability has no effect so will not do anything after casting?
Wait, what are you trying to do here? Part of your post is about triggers, its in the data forums, and then another part of the post is about data. I'm sorry, but we are confused.
Why are you using a trigger? What's the purpose of it? Why can't you just use the built in (And a lot less likely to bug out or break) data editor stuff?
If targetting units works, look at the first effect in your effect chain (probably the Launch Missile if its a missile spell) and check its target field. If the target field is set to "target unit", you obviously cant target ground. Change it to target unit/point (or just point if you want it to hit the ground, and not the unit). Firing at the ground can cause problems with the impact effects - They have to be set up differently (If its just damage, give it an area. If its anything else, create a "Search Area" effect that fires the next effect in the chain. In both cases, make it target "Target unit/point")
I hope that helped. In case it didn't, please provide more info and we'll probably be able to help
I tried to keep what I said concise out of fear that I would lose you guys/need to clarify..
Completely opposite effect :D
The issue is that the ability wasn't linked with a point, it was linked with a unit. I've since changed and it's working ( I've spent way too much time triggering, so when it comes to data, I have no idea what I'm doing)
What I mentioned about the trigger was sing a trigger to CAST the skill, because I'm delegating very few actions at once and in this scenario should work out well. Well, it's not that it will, it's that it has to because of the UI I've implemented.
I was using an Effect - Target, but my editor data view tabs gets messed up the second I hit F6. Because of that, I didn't even notice that I had target - unit selected...
I didn't think that was the problem, but it turns out that keeping an organized data editor is important; i changed it already for the two other attempts of the same ability, so basically I changed everything BUT that field for the correct one
Hello,
I have a projectile ability that needs to be targeted at the ground, so what I did was added a key-press to cast the ability.
When I select (Ability Command) targeting (Unit) it works, but I can't seem to get it to show up when I do (Ability Command) Targeting (Point). Anyone have an idea on how to fix this?
I've tried adding a simple button linked with the unit, and it ends up working, but the guy just stands there, turning towards the direction of my mouse when I press the button
You are making very little sense.
In short you have a default button with a hotkey?
You have added it to the unit command card and it is not showing ingame? This points to you not having given the unit the ability to use in the field above the command card.
You have linked a button to the unit through some other means?
Your ability has no effect so will not do anything after casting?
You are using an Issue Order effect somewhere?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
An ability requires a default button defined in the ability's "commands" field for the specific order to be used in a trigger ordering a unit.
No default button defined -> no trigger using that ability.
Edit:
Oh wait, that wasn't your problem.
Your ability's effect needs to use a "point" or "unit/point" in its "target" field.
@drakeforever: Go
Wait, what are you trying to do here? Part of your post is about triggers, its in the data forums, and then another part of the post is about data. I'm sorry, but we are confused.
Why are you using a trigger? What's the purpose of it? Why can't you just use the built in (And a lot less likely to bug out or break) data editor stuff?
If targetting units works, look at the first effect in your effect chain (probably the Launch Missile if its a missile spell) and check its target field. If the target field is set to "target unit", you obviously cant target ground. Change it to target unit/point (or just point if you want it to hit the ground, and not the unit). Firing at the ground can cause problems with the impact effects - They have to be set up differently (If its just damage, give it an area. If its anything else, create a "Search Area" effect that fires the next effect in the chain. In both cases, make it target "Target unit/point")
I hope that helped. In case it didn't, please provide more info and we'll probably be able to help
Okay, thanks a bunch for the responses guys!
I tried to keep what I said concise out of fear that I would lose you guys/need to clarify..
Completely opposite effect :D
The issue is that the ability wasn't linked with a point, it was linked with a unit. I've since changed and it's working ( I've spent way too much time triggering, so when it comes to data, I have no idea what I'm doing)
What I mentioned about the trigger was sing a trigger to CAST the skill, because I'm delegating very few actions at once and in this scenario should work out well. Well, it's not that it will, it's that it has to because of the UI I've implemented.
crap sorry about the double post.. its 4 am here... :(
So you are using an Effect - Instant ability instead of an Effect - Target???
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
No.
I was using an Effect - Target, but my editor data view tabs gets messed up the second I hit F6. Because of that, I didn't even notice that I had target - unit selected...
I didn't think that was the problem, but it turns out that keeping an organized data editor is important; i changed it already for the two other attempts of the same ability, so basically I changed everything BUT that field for the correct one
It's working now, though