How do I make a unit go left and right like in the lost viking minigame? It needs to face a single direction and not turn when I press A and D keys. It also needs to fire missiles that have a traceline kill on impact feature. Needs to fire missiles in a straight line too.
For the missile, I would recommend looking at some other tutorials, for that is fairly complex.
As for the movement, alter the movement ability and make sure that it does not change the facing of the unit.
Duplicate it, and then give the unit 2 abilities. Assign normal movement to W, and the new strafing movement to AW and D.
You can find how to do that in some of the tutorials, and on YouTube as well. Once again, that is a little bit complex, but that is how I did it when I was making my "Alien Invaders" test map.
Rollback Post to RevisionRollBack
Great to be back and part of the community again!
To post a comment, please login or register a new account.
How do I make a unit go left and right like in the lost viking minigame? It needs to face a single direction and not turn when I press A and D keys. It also needs to fire missiles that have a traceline kill on impact feature. Needs to fire missiles in a straight line too.
@Reaper872: Go
use a move unit instantly (with blend), or use a force effect in the data editor that you apply to a unit in the trigger
with the force effect i think you might need to make the unit face a direction but i havent tested it.
@Reaper872: Go
For the missile, I would recommend looking at some other tutorials, for that is fairly complex.
As for the movement, alter the movement ability and make sure that it does not change the facing of the unit. Duplicate it, and then give the unit 2 abilities. Assign normal movement to W, and the new strafing movement to AW and D.
You can find how to do that in some of the tutorials, and on YouTube as well. Once again, that is a little bit complex, but that is how I did it when I was making my "Alien Invaders" test map.
Great to be back and part of the community again!