wingdnosring
New Member
- Reaction score
- 16
I've stumbled across an interesting problem. Here is what the applicable section of my trigger looks like:
If the picked unit is a unit (I know that sounds confusing...just hang on) they move prefectly. But if they're a projectile, they only move in one direction and pool in the corner of the map. I've tried custom projectiles, default projectiles, they're all the same.
Is there some special way to trigger projectile movement? Or am I supposed to make a dummy unit of some sort in order to move a projectile with triggers? I would be just as happy making a dummy unit. So if anybody could walk me through that, I'd greatly appreciate it (I have barely touched the Data Editor so far).
If I can get this problem fixed, I'll have a full third-person shooter system ready to go!
[Edit]: Fixed the second problem. Anybody who saw it will definitely notice it's gone now. The one above is the only problem left (for now).
Code:
Variable - Set CurrentBulletLocation = (Position of (Picked unit))
Variable - Set FutureBulletLocation = (CurrentBulletLocation offset by WeaponBulletSpeed[CurrentWeapon[BulletTravelLoop]] towards (Custom value 1 of (Picked unit)) degrees)
Unit - Move (Picked unit) instantly to FutureBulletLocation (Blend)
If the picked unit is a unit (I know that sounds confusing...just hang on) they move prefectly. But if they're a projectile, they only move in one direction and pool in the corner of the map. I've tried custom projectiles, default projectiles, they're all the same.
Is there some special way to trigger projectile movement? Or am I supposed to make a dummy unit of some sort in order to move a projectile with triggers? I would be just as happy making a dummy unit. So if anybody could walk me through that, I'd greatly appreciate it (I have barely touched the Data Editor so far).
If I can get this problem fixed, I'll have a full third-person shooter system ready to go!
[Edit]: Fixed the second problem. Anybody who saw it will definitely notice it's gone now. The one above is the only problem left (for now).