CanSeeObject should be able to exclude objects

Kade333

New member
In the game I am working on, people walk around enjoying different venues.
I would like for them to keep looking for new venues instead of visiting old ones.

It would be cool if `CanSeeObject` allowed for a list of objects to exclude from the possible things it could see like this:
```
if (m_ExcludeObjectList.Value.Contains(targets)) {
continue;
}
```

Another task would then be able to update this list of targets to exclude as the game progresses.
 
For this you can use the Target Objects Shared GameObject List and only include the GameObjects that should be searched. This is similar to what you are mentioning except it's inclusive instead of exclusive.
 
Back
Top