1) How can i make a unit that once cloaked can't be seen ? (cloaked enemy units can be seen if you look very closely normally, i would like it to be unseeable unless for the triggering player)
2) I made two landed colonist ships on my map ... they are units that can't be clicked, selected or targeted. Everything is perfect, except that when i leave the zone where they are, they don't stay on the map (even grey or stunned like some doodads), they disappear. I must be in sight range to know that they are there ... how can i make it so they stay on my map even if she is grey (when i leave the zone) ?
3) I want to make levelable heroes. I know how to make a learn ability and charges to learn abilities, but i would like to add another ability of type learn where my hero can upgrade his health, his strength etc ... Is there a tutorial for that or does someone know how to do this ? PS : Sorry i posted this in the wrong section ... can a mod put it in "data" ?
2) Set the UI: Fog Visibility field for the unit to Snapshot, if it should behave like enemy structures, Dimmed to behave like a doodad or Visible to be... well... fully visible :)
3) That depends. If you want to go with another learn ability, you would probably want to add dummy abilities to spend the points on and add behavior stacks to the unit via triggers. If you want to keep it data-only, there are probably other workarounds, like learning autocasted behavior abilities or running update behaviors, which activate via requirements, if the current behavior stacks do not match the level of the ability.
First, thank you very much for you fast and usefull answer.
You solved my two first problems (YAY :D), but could you detail and explain a little bit more how to make it data-only ability (or what ever is necessary) to upgrade health, Physical damage, spell damage, shield etc. ???
Three question for you guys :
1) How can i make a unit that once cloaked can't be seen ? (cloaked enemy units can be seen if you look very closely normally, i would like it to be unseeable unless for the triggering player)
2) I made two landed colonist ships on my map ... they are units that can't be clicked, selected or targeted. Everything is perfect, except that when i leave the zone where they are, they don't stay on the map (even grey or stunned like some doodads), they disappear. I must be in sight range to know that they are there ... how can i make it so they stay on my map even if she is grey (when i leave the zone) ?
3) I want to make levelable heroes. I know how to make a learn ability and charges to learn abilities, but i would like to add another ability of type learn where my hero can upgrade his health, his strength etc ... Is there a tutorial for that or does someone know how to do this ? PS : Sorry i posted this in the wrong section ... can a mod put it in "data" ?
1) Check the Buried flag as well
2) Set the UI: Fog Visibility field for the unit to Snapshot, if it should behave like enemy structures, Dimmed to behave like a doodad or Visible to be... well... fully visible :)
3) That depends. If you want to go with another learn ability, you would probably want to add dummy abilities to spend the points on and add behavior stacks to the unit via triggers. If you want to keep it data-only, there are probably other workarounds, like learning autocasted behavior abilities or running update behaviors, which activate via requirements, if the current behavior stacks do not match the level of the ability.
@Kueken531: Go
First, thank you very much for you fast and usefull answer.
You solved my two first problems (YAY :D), but could you detail and explain a little bit more how to make it data-only ability (or what ever is necessary) to upgrade health, Physical damage, spell damage, shield etc. ???
3) It is over a year old but here.
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