Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (closestTarget == item) // item is current closest target
- {
- // ... nope
- }
- else if (!CheckMode(item.groundTarget)) // targeting mode doesn't match
- {
- // ... nope
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement