I have a unit that is flagged uncommandable and I want to make it commandable when a triggers occurs, I can't find the right action to do this though. Anyone know how to uncheck a flag via triggers?
I'd like to know as well, you might be able to do it with custom scripts, but the fastest might be to create a duplicate of your unit, make it commandable, and replace the uncommandable unit with it when needed.
I was under the impression Southpaw44 was asking about one specific unit, and in that case the above solution would most likely not fit ( changing the unit type entirely) :p
Plus I couldn't get the tutorial to work (getting was ok, setting wasn't)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a unit that is flagged uncommandable and I want to make it commandable when a triggers occurs, I can't find the right action to do this though. Anyone know how to uncheck a flag via triggers?
@Southpaw444: Go
I'd like to know as well, you might be able to do it with custom scripts, but the fastest might be to create a duplicate of your unit, make it commandable, and replace the uncommandable unit with it when needed.
This thread shows how to edit data editor values through triggers:
[Triggers] CatalogFieldValueGet / Set
@Aenigma: Go
I was under the impression Southpaw44 was asking about one specific unit, and in that case the above solution would most likely not fit ( changing the unit type entirely) :p
Plus I couldn't get the tutorial to work (getting was ok, setting wasn't)