Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
Hammerwatch Forum
»
Custom mapping and Mods
»
Editor Discussion
»
Make spawned monster follow path
« previous
next »
Print
Pages: [
1
]
Author
Topic: Make spawned monster follow path (Read 4819 times)
Flemse
Posts: 67
Maggot Crusher.
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?
Logged
rpc190
Posts: 44
Map Maker
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.
Logged
Flemse
Posts: 67
Maggot Crusher.
Re: Make spawned monster follow path
«
Reply #2 on:
October 17, 2015, 07:27:07 AM »
Ah, that was nice and easy. Thanks again.
Logged
Print
Pages: [
1
]
« previous
next »
Hammerwatch Forum
»
Custom mapping and Mods
»
Editor Discussion
»
Make spawned monster follow path