Custom mapping and Mods > Editor Discussion

Make spawned monster follow path

(1/1)

Flemse:
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:
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:
Ah, that was nice and easy. Thanks again.

Navigation

[0] Message Index

Go to full version