Home   Help Search Login Register  

Author Topic: "Can't get there."  (Read 776 times)

0 Members and 1 Guest are viewing this topic.

Offline benreeper

  • Members
  • *
  • I'm a llama!
"Can't get there."
« on: 09 Oct 2004, 19:55:09 »
Is there a way to detect if a unit cannot reach a certain location (i.e. their way is blocked || or destination is over water, etc.)?  Your AI knows right away if this is true and will tell you.  Can this info be extracted?
--Ben

DBR_ONIX

  • Guest
Re:"Can't get there."
« Reply #1 on: 09 Oct 2004, 22:15:07 »
Basicly, no..
It would be very hard to do i guess  :-\
- Ben

RonMcAsskick

  • Guest
Re:"Can't get there."
« Reply #2 on: 19 Oct 2004, 02:11:22 »
try the overwater function in the function library for getting if target is in water


as for aircraft check getpos target select 2 is not greater than say 1 metre

speed checks for ground vehicles

if its navigating terrain do a constant unit ready check but how to know where he is suposed to be going i cant think, look into game code or commands in the comm ref, i'll ave a think about it tho

Ron

Offline benreeper

  • Members
  • *
  • I'm a llama!
Re:"Can't get there."
« Reply #3 on: 20 Oct 2004, 05:31:59 »
Thanks.
--Ben