Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Getting WalkToPoint from character? NPC

Asked by 9 years ago

I can't figure out how to get a NPC's WalkToPoint every (so many) seconds I've Tried:

while wait (whatever) do
    Blah = script.Parent.Humanoid.WalkToPoint

Then I added Vector3.new to the mix

while wait (whatever) do
    Blah = Vector3.new(script.Parent.Humanoid.WalkToPoint)

and got nothing (was having things checked by printing into output like:

while wait (whatever) do
    Blah = Vector3.new(script.Parent.Humanoid.WalkToPoint)
    print (Blah)

I also tried using CFrame.new and still couldn't get it to change. Im very confused because the script I'm working with has

while wait (whatever) do
    TorsoPosition = script.Parent.Torso.Position

and that works just fine, so why wont WalkToPoint?

ANY HELP IS APPRECIATED.

1
What happens when you print `script.Parent.Humanoid.WalkToPoint`? duckwit 1404 — 9y

Answer this question