Here's an example for hexagonal pathfinding.
As with other examples in CC, do not copy the objects or events from this .cap into your own! Copying objects or events between .caps is not supported in CC, and would likely render your .cap unusable. You'll either have to recreate the objects and events in this .cap in your own, or use this as a base to start from.
Enjoy!
http://www.amirai.net/forums/hexagonalpathfinding.zip
Edit: updated with more comments and cleared out some unnecessary events.