I'm making an TPS where one unit has the ability to be cloaked. I would still want this unit to be clickable while cloaked, but I'm unable to find the modifier for cloaking in general or any flags on behaviors to make this possible. Any help would be appreciated.
Unit flags, under your cloaked behav. I believe there is a clickable, or able to be selected option. Set that to the right setting and I think you should be golden.
There is an unselectable flag for a unit, but this is independant of cloaking. There is also an unclickable one, but that does have to do with trigger responses to clicking that unit.
I don't know, if what you want is actually possible; I cannot think of a way, which both preserves the "cloaked" behavior, as in unable to be targeted unless detected, and enables enemies to select the unit.
If it doesn't matter, that the unit is still technically visible, you could just make it both cloaked and detected.
I'm trying to use the "Unit clicked" trigger event, but cloaking prevents the event from firing even when the unit has the "cannot be clicked" flag unchecked.
But you want the unit to actually stay fully invisible? Then I am out of options.
The only thing, that comes to my mind is using a dummy unit with an invisible, but clickable model (or just 0 opacity) and attaching it to the cloaked unit.
I'm making an TPS where one unit has the ability to be cloaked. I would still want this unit to be clickable while cloaked, but I'm unable to find the modifier for cloaking in general or any flags on behaviors to make this possible. Any help would be appreciated.
Unit flags, under your cloaked behav. I believe there is a clickable, or able to be selected option. Set that to the right setting and I think you should be golden.
@AnOddRadish:
The only flag options I saw were "Behavior - Buff Flags" and "Stats - Flags" and there were no clickable or selectable options within them.
There is an unselectable flag for a unit, but this is independant of cloaking. There is also an unclickable one, but that does have to do with trigger responses to clicking that unit.
I don't know, if what you want is actually possible; I cannot think of a way, which both preserves the "cloaked" behavior, as in unable to be targeted unless detected, and enables enemies to select the unit.
If it doesn't matter, that the unit is still technically visible, you could just make it both cloaked and detected.
@Kueken531:
I'm trying to use the "Unit clicked" trigger event, but cloaking prevents the event from firing even when the unit has the "cannot be clicked" flag unchecked.
But you want the unit to actually stay fully invisible? Then I am out of options.
The only thing, that comes to my mind is using a dummy unit with an invisible, but clickable model (or just 0 opacity) and attaching it to the cloaked unit.
@Kueken531:
That's not a bad idea. I'll see what I can do.