I used to remember how to do this, but I haven't done work in the editor so long I forgot....
I know I need to have a behavior that watches something...and then two buttons maybe to open and close the gate?
Please be as detailed as possible.
Rollback Post to RevisionRollBack
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
I asusme that open and close are morph abilites of the gate?! then you could use a behaviour with a periodic issue order for the morph ability(open). the morphed unit has a similar behavior for closing. in addition the behaviors need Enumerate Area validators in the Disable field to compare if there are units nearby or in the case of close if there are no units. I dont know if it works (cant test right now), but you could try.
I am largely inactive, but I am still around. Feel free to poke me if you need some help, just be warned that I only really come back if I need help and/or if I'm posting a new map/library.
Out of curiosity do you know if your method is any more efficient than say using a behavior that has a constant search effect going off? I would imagine it is but one can never be to sure.
As a search and order takes two actions I think the validator would be less demanding. Still as far as I know no one has done any quantitative tests on the system demands of each method.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I used to remember how to do this, but I haven't done work in the editor so long I forgot....
I know I need to have a behavior that watches something...and then two buttons maybe to open and close the gate?
Please be as detailed as possible.
what are you trying todo?
@SoulTaker916: Go
Trying to make a gate open when a unit is within range and close when a unit is out of range via data.
@Yaksmanofage: Go
I asusme that open and close are morph abilites of the gate?! then you could use a behaviour with a periodic issue order for the morph ability(open). the morphed unit has a similar behavior for closing. in addition the behaviors need Enumerate Area validators in the Disable field to compare if there are units nearby or in the case of close if there are no units. I dont know if it works (cant test right now), but you could try.
@Shieldnutzz: Go
Ah, thank you! Got it working now.
So no one here has looked at my zerg gate demo map?
Just have an automatic morph validated by an enumerate area validator.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Where can we find that demo map? I can't seem t find it but I'd be interested to see it
Look at my signature the bottom link.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Out of curiosity do you know if your method is any more efficient than say using a behavior that has a constant search effect going off? I would imagine it is but one can never be to sure.
@DrSuperEvil: Go
^ this guy knows what's up
@yaksman I asked this same question myself, use the search better buddeh :P
As a search and order takes two actions I think the validator would be less demanding. Still as far as I know no one has done any quantitative tests on the system demands of each method.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg