- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
I use a system where if a player right clicks on a building with their hero (smart command), it moves them to another location (e.g. interior).
However, because it is the smart command, the player's unit, after being moved, tries to move back to the building which was smart commanded on, as changing a unit's position does not seem to affect the state of it's follow command (the unit is still 'following' the building).
What native can I use to "erase" this data, so when the player's unit is moved, it does not fixate on the building that he right clicked on.
I use a system where if a player right clicks on a building with their hero (smart command), it moves them to another location (e.g. interior).
However, because it is the smart command, the player's unit, after being moved, tries to move back to the building which was smart commanded on, as changing a unit's position does not seem to affect the state of it's follow command (the unit is still 'following' the building).
What native can I use to "erase" this data, so when the player's unit is moved, it does not fixate on the building that he right clicked on.