Summary: Trying to use this AI compound action fails unless you specify an entity for its second leaf action because that leaf action is expecting the entity to be in ai.ARGS
instead of ai.PREV
, making it useless because then all it’s doing aside from calling stonehearth:find_path_to_entity
is creating and disposing of an unused transient entity.
Notes:
It’s no wonder this action isn’t used by anything in the game: it doesn’t work. Just change line 45 to be
destination = ai.PREV.entity,
and it should work.
Version Number and Mods in use:
Release-889