anonymous_user_9a21d0d5
Sat, 27 Oct 2018 08:13:30 +0000
World Creation

How do I set a wandering actor to test all ground surface within visual radius to find a minimum area of flat space (or near to it)?

I have an actor, who is happily trundling along in his cart (top down but free-look) view. and I want him to test the visible area around him for a series of priorities:

1. Flat ground area of size x*y which we will call z.

2. Water source distance from area z. If not in visible range then he doesn’t find one and will need guidance.

3. Resources within an area of a*b around z that contain resources such as rock, stone, food, gold, coal, animals, etc.

I’ve been trying to figure out how to use the EQS to do this but I can’t get my head around it. I know it’s just the first or second hurdle I need help with then I’ll be able to run with it.

I also tried using AIBehaviourToolkit - but that seems to be staggeringly weak on options.

Please can someone help. I’m going crazy here.

3 posts - 1 participant