Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Here is a pet follow script if anyone need it.. just put it on pet every 3000ms execute javascript note both the player and pet must have actor behavior note you must change the name dragon1 and player1 to your own name nodes dragon = ccbGetSceneNodeFromName("dragon1"); its possible to invert the distance to get a moveto player when range is <x meters.. behavior happy coding and cheers!! |
||||
|
Thanks for share 0139, you are very good coder! |
||||
|
your welcome and thanks for saying that.. |
||||
|
Thanks for sharing that! Will surely be to good use for many of us :D |
||||
|
your welcome blackwater! and glad you think so. |
|