Forum rules - please read before posting.

Move to point


I've used a custom action to spawn the party (correct me if there's a better way to do this by the way) and then I'm trying to get the fox to move to a location after being spawned.

The 'walk to' action just won't work when the fox is instantiated (as opposed to added to the scene graph).  It seems to resolve the Constant ID,  but it just won't complete this action. 

Other actions such as 'teleport' and 'dialog' get it right.  It's ONLY the "Move to point" that is having trouble, and it's ONLY with an instantiated NPC.  Other actions involving the fox work fine.

If added the scene graph the fox moves fine.

Any thoughts on this?  Bug?

Thank you
image

Comments

  • Welcome to the forum, @DanPlayerMcKinnon.

    By "party" are you referring to the NPC?  Without knowing specifically what your custom Action is doing, it's difficult to advise - but know that there's an Object: Add or remove Action which is intended for mid-game instantiation.

    AC keeps own internal record of in-game objects such as NPCs, which that Action updates accordingly, so that may be the cause of it.  It is often easier, though, to simply hide any object from view until you want to show it, rather than instantiating it at runtime.  This is because you'll also need to give it the "Remember Transform" component, correctly set-up, in order to store it's present in save game files - see Section 9.2 of the Manual.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.