#Two tags cant be added to a unit through scripting
1 messages · Page 1 of 1 (latest)
Please make sure your report contains all required information to quickly reproduce this issue!
If you see this and noticed a similar problem, feel free to provide additional information.
Just tested this and it worked fine.
Please note that tags have to be unique. So adding the same tag multiple times to a unit will not work
Show script
i figured it out
i forgot to say that
so uhhhh you have to put in BOTH TAGS when using a hastag (with a space in between) for it to detect both
I think you are doing something wrong. If you have to put both tags with a space, you must have added them as a single tag
For instance AddTag with "Tag1 Tag2" will be one tag. So HasTag with "Tag1" will be false, but HasTag with "Tag1 Tag2" will be true
I did the exact thing here, (except without the keypressed stuff) so
i dont know
Do you have a screenshot of the script?
Okay, so first thing that's very risky is that the second add tag is not connected to the ReplaceWithPassive node.
There is no guarantee that both tags will be added before the unit is replaced.
hmm
but
wait
then how come both tags are added as one?
If they may not have been added at all?
I dont know. Based on the code behind that node it's literally impossible. Do you have the complete map? I would like to debug to see all of the script in action