Save enemy position

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mik60
Posts: 6
Joined: Tue Jan 17, 2023 5:18 pm

Save enemy position

Post by mik60 »

No matter what I try I can't save my enemy's position. I've tried ticking all the boxes and adding a target. All the other enemy's save fine.
Attachments
PS.jpg
PS.jpg (21.22 KiB) Viewed 1532 times
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save enemy position

Post by Tony Li »

Hi,

Does any other saver in the scene have the same key "Skel_1_Pos"?

If you're changing scenes, it won't save unless you tick Save Across Scene Changes.

Does this enemy have a script that locks it into place or moves it into place, perhaps after the Position Saver has tried to move it?

Is the enemy GameObject active when the scene starts? If it's not active on scene start, move the Position Saver to a different, active GameObject and assign the enemy to the Target field.

Are there any errors or warnings in the Console window?
mik60
Posts: 6
Joined: Tue Jan 17, 2023 5:18 pm

Re: Save enemy position

Post by mik60 »

No saver with the same name.
No scene changes.
No scripts on enemy that change position.
Enemy starts active.
No errors in console window.
All enemies are made with emerald AI.
All the other enemies positions are saved.
User avatar
Tony Li
Posts: 22886
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save enemy position

Post by Tony Li »

Hi,

Can you send a reproduction project to tony (at) pixelcrushers.com? I can't think of anything else to suggest, so I'll need to take a direct look to be able to provide any more assistance.
Post Reply