Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tomihask

Pages: [1]
1
There are a couple ways to go about this.

(knifeGuy:setMotion(MoveTo (send gEgo:x) (send gEgo:y) )) is one way. You could call this in the doit Method, so if the ego moves, the coordinates would be updated...

but there is actually already a built in function to do this

(knifeGuy:setMotion(follow gEgo)) // I don't remember if the follow is capitalized or not.

if you use this one, you need to make sure to add "use follow" at the top of the sscript.

Thanks Doan Sephim for useful post .

Pages: [1]

SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.025 seconds with 15 queries.