quincy 10 Posted December 8, 2010 i want for say a unit to see a ammocache and if it does the then hint "cahe found"; also the the cache to blow up by gbu 12 explosion Share this post Link to post Share on other sites
kylania 568 Posted December 8, 2010 You have AI searching for caches? o.O Just use a trigger. When BLUFOR gets within x meters of the cache hint "cache found" then createVehicle a GBU 12 on it I guess? No need to add in the difficulty of actually checking line of sight, just fake it. Share this post Link to post Share on other sites
scajolly 14 Posted December 8, 2010 If you want a human to do it, could just make an AddAction for the cache, so they'd have to approach and select the action. Bit unrealistic, but best way I can think of of detecting a detection within the sort of range you might operate with. Share this post Link to post Share on other sites
quincy 10 Posted December 8, 2010 You have AI searching for caches? o.OJust use a trigger. When BLUFOR gets within x meters of the cache hint "cache found" then createVehicle a GBU 12 on it I guess? No need to add in the difficulty of actually checking line of sight, just fake it. how do i attatch trigger to cache Share this post Link to post Share on other sites
Rabble-Rouser 10 Posted December 9, 2010 triggername attachto [cachename,[0,0,0],""]; //coordinates are for attachto position relative to object Share this post Link to post Share on other sites