• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Changing Projectile Speed with triggers.

Status
Not open for further replies.
Level 2
Joined
Oct 2, 2019
Messages
11
I noticed it is now possible to change a unit's weapon projectile speed with triggers in the world editor. When I tried it out though, it doesn't seem to work. I noticed that in the trigger itself, it shows an index integer you can adjust, but I am not sure what it means.

My trigger looks like this:
Unit - Set Unit: (Last created unit)'s Weapon Real Field: Attack Projectile Speed ('ua1z')at Index:0 to Value: (Distance between Temp_Point[1] and Temp_Point[2])

Am I missing something? Like I said, the change doesn't appear to take place. The Goal of this trigger is to have a flashy effect where an invisible unit shoots off a projectile from points scattered across the map that all meet at a single point at the same time, and thus another effect fires off once they all meet. Thanks in advance for any help.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Most of those new functions don't work yet. Hopefully Blizzard fixes them with the release of Reforge.

And most indices start at 0 now. So if a unit has 2 Weapons for example, Weapon 1 will be Index 0, and Weapon 2 will be Index 1. I'm assuming Projectile Speed references the Weapon Projectiles so Index 0 is probably for Weapon 1. Or for the levels of an ability it will be level 1 = Index 0, level 2 = Index 1, level 3 = Index 2, etc...
 
Last edited:
Status
Not open for further replies.
Top