fabrizio_t 58 Posted December 31, 2006 Anybody successful in using "getHideFrom" ? Syntax is: "object getHideFrom enemy", function returns hiding position. I bet "object" is the unit to be hidden ... but can't have it to work. Also i'd like to know which objects are taken in account as hiding objects, i suspect they are only the ones "coded" into the map (like findCover). Share this post Link to post Share on other sites
sbsmac 0 Posted December 31, 2006 Hmm - I had a look at the Biki description. It's a bit hard to decode the 'Czechlish' but my guess would be this:- 'object' is some object such as a large rock. 'Enemy' is a single unit . The position returned will be one where the 'enemy' would be unable to see another unit because their line of sight would be occluded by the rock. Just a guess - would welcome feedback if you find it actually works differently. Share this post Link to post Share on other sites
fabrizio_t 58 Posted December 31, 2006 Can't get it to work in either way (object as unit / object as editor designed object): returned position is always [0, 0, 0]; I think it eventually works only with map-defined objects, but that's pretty useless ot me. Share this post Link to post Share on other sites