Author Topic: Make spawned monster follow path  (Read 3913 times)

Flemse

  • Posts: 67
  • Maggot Crusher.
    • View Profile
Make spawned monster follow path
« on: October 16, 2015, 03:35:55 PM »
I can see in the defense map, that you can somehow link the spawn object script to the actor node of the moveAI script, but I can only make it attach to an actor. Does anyone know how to attach the spawn object script instead of an actor?

rpc190

  • Posts: 44
  • Map Maker
    • View Profile
Re: Make spawned monster follow path
« Reply #1 on: October 16, 2015, 10:49:56 PM »
Right click any SpawnObject while in the selection mode for a script such as MoveAI and you will get the option to select 'Last Spawned'. A quick word of warning this doesn't work if the spawned object is a prefab, so keep that in mind when planning.

Flemse

  • Posts: 67
  • Maggot Crusher.
    • View Profile
Re: Make spawned monster follow path
« Reply #2 on: October 17, 2015, 07:27:07 AM »
Ah, that was nice and easy. Thanks again.