I'm trying to give a unit the ability to detect only specific things (e.g. hallucinations but not cloaked or burrowed units). I'm able to do this fine, but I can't seem to figure out how to remove the yellow "detector" label which shows up in the unit's description. Is there any way that I can do this?
There is a data field on the unit called Behavior - Behaviors - Behavior, remove the detector option from this field.
I'm not sure if you understand what I'm asking. I have a custom behavior which allows my unit to detect certain units. I would like to maintain this detection behavior while removing the yellow "detector" label from the unit's description. Your solution seems to be simply to remove my detection behavior from the unit.
Generally the detector option in that field will give you the yellow text there. If your behavior is the only one there then check the behavior itself for the UI text.
The Yellow 'Detector' text shows up if you have a 1 or higher in the unit tab's Detect field(of the Behavior)... if it's a 0, no yellow 'Detector' text. if it's -1 or less, you get the yellow 'Detector' text in the UI, but it does not detect or reveal other cloaked units.
The State Flags in the above mentioned's Behavior Tab are all disabled by default for Behavior (10), (11) and (12).
The UI - Tooltip is only the text that would show up on the ICON itself if the Behavior wasn't hidden, it does not control the yellow 'Detector'.
Making 'Detector' enabled in the State Flags section of the tab 'Behavior' will show the yellow 'Detector' on the unit's UI card even if it is not a detector, and it will not detect/reveal anything if it has no number higher than 0 in the Detect field in the Unit Tab.
The Yellow 'Detector' text shows up if you have a 1 or higher in the unit tab's Detect field(of the Behavior)...
if it's a 0, no yellow 'Detector' text.
if it's -1 or less, you get the yellow 'Detector' text in the UI, but it does not detect or reveal other cloaked units.
The State Flags in the above mentioned's Behavior Tab are all disabled by default for Behavior (10), (11) and (12).
The UI - Tooltip is only the text that would show up on the ICON itself if the Behavior wasn't hidden, it does not control the yellow 'Detector'.
Making 'Detector' enabled in the State Flags section of the tab 'Behavior' will show the yellow 'Detector' on the unit's UI card even if it is not a detector, and it will not detect/reveal anything if it has no number higher than 0 in the Detect field in the Unit Tab.
So, as far as you know there's no way to grant a detection behavior without the yellow "detector" label.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to give a unit the ability to detect only specific things (e.g. hallucinations but not cloaked or burrowed units). I'm able to do this fine, but I can't seem to figure out how to remove the yellow "detector" label which shows up in the unit's description. Is there any way that I can do this?
@Khalanil1: Go
There is a data field on the unit called Behavior - Behaviors - Behavior, remove the detector option from this field.
I'm not sure if you understand what I'm asking. I have a custom behavior which allows my unit to detect certain units. I would like to maintain this detection behavior while removing the yellow "detector" label from the unit's description. Your solution seems to be simply to remove my detection behavior from the unit.
@Khalanil1: Go
Generally the detector option in that field will give you the yellow text there. If your behavior is the only one there then check the behavior itself for the UI text.
@silvermage: Go
The Yellow 'Detector' text shows up if you have a 1 or higher in the unit tab's Detect field(of the Behavior)...
if it's a 0, no yellow 'Detector' text.
if it's -1 or less, you get the yellow 'Detector' text in the UI, but it does not detect or reveal other cloaked units.
The State Flags in the above mentioned's Behavior Tab are all disabled by default for Behavior (10), (11) and (12).
The UI - Tooltip is only the text that would show up on the ICON itself if the Behavior wasn't hidden, it does not control the yellow 'Detector'.
Making 'Detector' enabled in the State Flags section of the tab 'Behavior' will show the yellow 'Detector' on the unit's UI card even if it is not a detector, and it will not detect/reveal anything if it has no number higher than 0 in the Detect field in the Unit Tab.
So, as far as you know there's no way to grant a detection behavior without the yellow "detector" label.