SC2Mapster Forums

Development > Data

Unit launched as missile with terrain collision

  • 4 posts
    #1 Jan 27, 2013 at 15:52 UTC - 0 likes

    I have made an ability that launches the caster as a missile towards an offset point. The missile is also supposed to collide with unpathable terrain. If it collides, the missile is redirected to another offset point. The weird thing is that it only works once for each unit each time you load the map. I have tried to do it with behaviors and also persistent effects to check if the terrain is unpathable.

    Here are the maps:

    http://www.mediafire.com/?mpgy7smulkbthrg (Behavior) http://www.mediafire.com/?nrewbnnwwd9q5mx (Persistent Effect)

    Could you check the maps and see what makes the problem occur?

    Name Size MD5
    Terrain_Collision_Test__Behavior_.SC2Map 11.3 KiB 87cd0a469160...
    Terrain_Collision_Test__Persistent_.SC2Map 11.2 KiB 22b14d21362a...
    #2 Jan 28, 2013 at 13:17 UTC - 0 likes

    I got a feeling this is a problem of the Redirect Missile effect, if you replace that with something else it will always work (for example if you use a Damage effect it will always damage the unit, not only the first time), which means there is no underlying problem in the effect chain but rather the Redirect Missile refuses to fire after the first time.

    So I personally don't know how to fix that, maybe someone else already has knowledge about the Redirect Missile effect and whether or not there is a way to fix this.

    Last edited Jan 28, 2013 by Bommes


    Check out my project:
    MechCraft

    #3 Jan 28, 2013 at 18:31 UTC - 0 likes

    you know i'd be a lot more inclined to help if the map were uploaded here and attached to your post than it being uploaded offsite.

    #4 Jan 28, 2013 at 19:45 UTC - 0 likes

    Sorry, I'm new to this site and didn't think of it.

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!