Modding Help Get monster to pathfind to certain position?

Discussion in 'Starbound Modding' started by jakecool19, Feb 18, 2019.

  1. jakecool19

    jakecool19 Pangalactic Porcupine

    Hello again, I was just wondering is there any way to get a monster/npc to go to a certain point? I'm trying to make raids in which the enemies will actively try to get to the "heart" of the colony. My Lua knowledge is basic at the very best, so I've kinda hit a road block as to making a custom behavior(just looking at the monster.lua gives me headache lol) in which they move to a specified point. The only thing I know that works is monster.flyTo but that only really works with phasing monsters as they need no pathfinding. Is there any guide or documentation on how to make a custom behavior via Lua or is there some mod that does this already that I can use as an example? Thanks for any help!
     

Share This Page