Jump to navigation Jump to search
bool CanSeek (Actor target)
Checks to see if the calling actor (typically a seeking missile) can seek the specified actor (target). If target has the CANTSEEK flag, it cannot be sought. If the calling actor has the DONTSEEKINVISIBLE flag and target has either the SHADOW or INVISIBLE flags, or has a render style and alpha combination which would make it hard to see, then it cannot be sought, either.
- target: a pointer to the actor on which to perform the check.
The function returns true if the specified actor can be sought, otherwise it returns false.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|