Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Topic started by: robot on November 13, 2008, 09:58:41 PM

Title: actor.SkipToObject - Method
Post by: robot on November 13, 2008, 09:58:41 PM
there is a GoTo, a GoToObject, a SkipTo but i didn't found a SkipToObject method for the actor.
would this be a problem?
Title: Re: actor.SkipToObject - Method
Post by: sychron on November 13, 2008, 10:51:55 PM
You can use a workaround ... get the objects x and y and use the actors skipto (with slightly modified coordinates) and lokat methods.

gotoObject() is intended for dynamic in-scene use, so normally you just use skipTo at the start of a scene ... unless you want to script a teleporter, that is.
Title: Re: actor.SkipToObject - Method
Post by: Mnemonic on November 13, 2008, 10:53:12 PM
Or directly actor.SkipTo(SomeEntity.WalkToX, SomeEntity.WalkToY);