SC2Mapster Forums

Development > Data

[Solved] Selectable and rotating question mark

  • 6 posts
    #1 Dec 08, 2012 at 22:46 UTC - 0 likes

    Got a bit rusty :(

    What do I have to do to make the Question Mark selectable like a normal unit? Like the pickup items e.g. It doesn't seem to be the selectable flag of the unit.

    I remember you could use the deployed dark toss warp prism to have a rotating attachment point. I used it on a unit to have orbs fly around it.
    But how do I use this to just have a rotating question mark? Could somebody please tell me the crude order I have to attach thing together to do this?

    A programmer started to cuss
    Because getting to sleep was a fuss
    As he lay in his bed
    Looping 'round in his head
    Was: while (!asleep()) sheep++;

    twitter.com/SC2IncomeWars
    facebook.com/SC2IncomeWars

    #2 Dec 08, 2012 at 23:40 UTC - 0 likes

    Attach a HitTestSphere model as an attachment and use the 1.5 SOp called rotator.

    #3 Dec 09, 2012 at 17:28 UTC - 0 likes

    Okay I tried it and I need more information :(

    Which tutorial does cover this?

    I guess in the end it has to be

    ?-Actor + Hit-Model < SOp Rotate < 2nd Actor + ?-Model

    #4 Dec 09, 2012 at 18:59 UTC - 0 likes

    You apply the rotator to the question mark directly and then attach the hit sphere as a Model type attachment

    The attachment part is covered by procaizmuze in at least three of his tutorials.

    #5 Jan 06, 2013 at 16:43 UTC - 0 likes

    Since bone had problems doing this, I made that myself and here it is:

    It contains my fix for the selection when the unit's owner changes. This is the exact method I currently use in my diablo map. :D I used ShapeSphere instead of HitTestSphere because you can make it visible easily via actor events to debug the position.

    I made this in the HotS editor. Use the WOL1.5.3 file for the Wings of Liberty editor.

    Last edited Jan 06, 2013 by Ahli634
    Name Size MD5
    rotatingSelectableQuestionMark.SC2Map 10.3 KiB 77f70f2e4625...
    rotatingSelectableQuestionMark_WOL1.5.3.SC2Map 10.3 KiB 5cff7f82fcf9...

    http://img42.imageshack.us/img42/7586/signaturemj.jpg

    #6 Jan 06, 2013 at 17:09 UTC - 0 likes

    @Ahli634: Go

    Thanks a lot.
    Marked as solved.

  • 6 posts

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