🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Here are simplified versions of trigger I'm using in m racing map.
Accelerate Begin
Events
Player - Player 1 (Red) Presses the Up Arrow key
Conditions
Actions
Trigger - Turn on Accelerate <gen>
Accelerate
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set MyPosition = Position of MyUnit
Unit - Order MyUnit to Move To MyPosition offset by SomeOffset towards MyFacing degrees)
Else - Actions
Accelerete End
Events
Player - Player 1 (Red) Releases the Up Arrow key
Conditions
Actions
Trigger - Turn off Accelerate <gen>
For turning do the same things, but make unit face facing of unit - 5 or so. And store the facing to a variable so Accelerate trigger can use it.
For the carrion swarm thing:
Untitled Trigger 001
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Starfall
Actions
Set TempReal = (Facing of (Triggering unit))
Starfall is an ability that insta-casts when you click the ability button. Copy it and delete all effects and damage etc.
Then add to that trigger the ceation of a dummy unit. Then attach carrion swarm special effect to it and move it forward with another, periodic trigger. If you have troubles with making that happen, I can do it for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.