Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Follow 3 sprites with "follow modes" (target modes), how?
- bloxxer
- Scratcher
100+ posts
Follow 3 sprites with "follow modes" (target modes), how?
There is the sprite friend_clone. You can choose 2 types of aiming for him:
Nearest to self
Nearest to down
There are 3 enemies. enemy_clone, enemy_clone2 and enemy_clone3.
Now, does anybody have scripts that friend_clone
Follows nearest to self, ex. enemy_clone2 is nearest, touch enemy_clone2 at highest priority.
Follows nearest to down, ex. enemy_clone3 is nearest at bottom, touch enemy_clone3 at highest priority.
Nearest to self
Nearest to down
There are 3 enemies. enemy_clone, enemy_clone2 and enemy_clone3.
Now, does anybody have scripts that friend_clone
Follows nearest to self, ex. enemy_clone2 is nearest, touch enemy_clone2 at highest priority.
Follows nearest to down, ex. enemy_clone3 is nearest at bottom, touch enemy_clone3 at highest priority.
- turkey3
- Scratcher
1000+ posts
Follow 3 sprites with "follow modes" (target modes), how?
I hve a preview of the script so far here.. Honestly, using clones for this is VERY difficult. If you'll only have 3 clones, its honestly easier to use 3 separate sprites. Let me know if you want me to continue the script. It's in the scripts sandbox at the link above.
Last edited by turkey3 (July 2, 2013 02:13:59)
- Discussion Forums
- » Help with Scripts
- » Follow 3 sprites with "follow modes" (target modes), how?