I been working on my tps, and there seems to be an issue when using the marauder missile (Launch missile) when impact location is set to target Unit/point.
In my traceline I define both points, is the target terrain or a unit... and the weird thing is, the missile works when its set as Target Unit, or Target point, but when I set it as Target Unit/Point the launch missle works for the points, but it wont detect the unit - it just flies through the unit like it dont exist.
I dunnno if its cause im setting something up wrong or what, or maybe some aditional field I need to set. Any help would be apreciated.
I was helping him with this so im gonna add a lil more details.
We're using the http://wiki.sc2mapster.com/galaxy/triggers/create-effect-on-unit-from-unit/ and http://wiki.sc2mapster.com/galaxy/triggers/create-effect-at-point-from-unit/ actions. The effect we were testing it with was with the marauder launch missle effect, also with the ghost weapon damage effect.
Whenever we set the Target - Impact location + of the launch missile effect to target unit, we would only see the effect happen when we would target at a unit ( he has it set up so there a lil crosshair in the middle of the screen to target with). However whenever it is set to target unit/point, we would see the effect occur against the terrain (we could shoot the missle at the ground), however when ever we shot it at a unit that unit wouldn't take any damage. We tried using a search area effect for the impact effect, however the result can be best described as lolwtfhax. The missiles would rise up and move in the opposite direction of where you where aiming, but still facing the point u were shooting at, and would just hand there for a while then disappear. We then tried to use the search that damage effects have. It would sometimes work as intended but not quite what we were looking for. Sometimes the unit we were targeting would take damage even though we were looking straight at it. Also the when it would do damage the missle would go and head down and hit the units feet (i assume it was heading towards the very exact point and center of the unit.
However when we would use the ghost damage effect, it would work perfectly, except that he wants for there to be some sort of visible projectile when a weapon is used. And with the ghost damage effect, there is only an imact effect and the shooting animation that the spectre has ( the units the player get t control atm is a spectre, and there was a spectre animation when testing with the marauder effect as well)
When a missile effect is set to target/point it will identify the position of a unit as a point, and not target the unit. I worked around this by using an if/then statement in my shooting trigger. Duplicate the weapon (actors and effects are all thats needed) and set one to target unit the other to target point. In the trigger: If target point = no point then Weapon effect (the one set to target point) ; If target unit = no unit then Weapon effect (the one set to target unit)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I been working on my tps, and there seems to be an issue when using the marauder missile (Launch missile) when impact location is set to target Unit/point.
In my traceline I define both points, is the target terrain or a unit... and the weird thing is, the missile works when its set as Target Unit, or Target point, but when I set it as Target Unit/Point the launch missle works for the points, but it wont detect the unit - it just flies through the unit like it dont exist.
I dunnno if its cause im setting something up wrong or what, or maybe some aditional field I need to set. Any help would be apreciated.
I was helping him with this so im gonna add a lil more details.
We're using the http://wiki.sc2mapster.com/galaxy/triggers/create-effect-on-unit-from-unit/ and http://wiki.sc2mapster.com/galaxy/triggers/create-effect-at-point-from-unit/ actions. The effect we were testing it with was with the marauder launch missle effect, also with the ghost weapon damage effect.
Whenever we set the Target - Impact location + of the launch missile effect to target unit, we would only see the effect happen when we would target at a unit ( he has it set up so there a lil crosshair in the middle of the screen to target with). However whenever it is set to target unit/point, we would see the effect occur against the terrain (we could shoot the missle at the ground), however when ever we shot it at a unit that unit wouldn't take any damage. We tried using a search area effect for the impact effect, however the result can be best described as lolwtfhax. The missiles would rise up and move in the opposite direction of where you where aiming, but still facing the point u were shooting at, and would just hand there for a while then disappear. We then tried to use the search that damage effects have. It would sometimes work as intended but not quite what we were looking for. Sometimes the unit we were targeting would take damage even though we were looking straight at it. Also the when it would do damage the missle would go and head down and hit the units feet (i assume it was heading towards the very exact point and center of the unit.
However when we would use the ghost damage effect, it would work perfectly, except that he wants for there to be some sort of visible projectile when a weapon is used. And with the ghost damage effect, there is only an imact effect and the shooting animation that the spectre has ( the units the player get t control atm is a spectre, and there was a spectre animation when testing with the marauder effect as well)
Bump, anyone...
Somebody, please help me out here lol.
@Sumsin: Go
When a missile effect is set to target/point it will identify the position of a unit as a point, and not target the unit. I worked around this by using an if/then statement in my shooting trigger. Duplicate the weapon (actors and effects are all thats needed) and set one to target unit the other to target point. In the trigger: If target point = no point then Weapon effect (the one set to target point) ; If target unit = no unit then Weapon effect (the one set to target unit)