Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » (Fixed)
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Here is the breakdown
I am making a TF2 recreation (not gory)
but I can't make the Red Top shoot the bullet and I have tried everything I can think of
Link to project: https://scratch.mit.edu/projects/169476567/
I am making a TF2 recreation (not gory)
but I can't make the Red Top shoot the bullet and I have tried everything I can think of
Link to project: https://scratch.mit.edu/projects/169476567/
Last edited by StrangeMagic32 (July 23, 2017 01:05:48)
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- Scratch-Minion
- Scratcher
1000+ posts
(Fixed)
Call this code from somewhere:
Then it worked for me.
create clone of [Red Bullet v]
Then it worked for me.
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Yes it worked for me but I need to have all of the clones of Red Top to shoot from them not from the original red top
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- danielhal
- Scratcher
100+ posts
(Fixed)
I think it's not working because the bullets are programmed to spawn at the orignal red top, not the clone that spawns them. I'll make a quick remix to try and fix this.
- Uniquename1
- Scratcher
100+ posts
(Fixed)
Your guy only goes to one place but even if he was moving you can have a variable or 2 and right before you create clone of red bullet set x and y as variables… can call them destinationX and destinationY. Then when the clone creates it self it goes to destinationX and destinationY first thing but not forever.
Check under clones of many attributes:
https://wiki.scratch.mit.edu/wiki/Advanced_Clone_Usage
Check under clones of many attributes:
https://wiki.scratch.mit.edu/wiki/Advanced_Clone_Usage
Try my games.
Scratch Sprite Club VI Soccer
Star Fighter Shooting
Space Marines: Boarding Party Strategy
Lion Runner Running/ Platformer
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
I think it's not working because the bullets are programmed to spawn at the orignal red top, not the clone that spawns them. I'll make a quick remix to try and fix this.
Thanks!
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- danielhal
- Scratcher
100+ posts
(Fixed)
I've remixed this and I think I made it work: https://scratch.mit.edu/projects/169502061/
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Your guy only goes to one place but even if he was moving you can have a variable or 2 and right before you create clone of red bullet set x and y as variables… can call them destinationX and destinationY. Then when the clone creates it self it goes to destinationX and destinationY first thing but not forever.
Check under clones of many attributes:
https://wiki.scratch.mit.edu/wiki/Advanced_Clone_Usage
there is one problem with that what if there are multiple clones of the Sentry?
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Thank you for making the remix because it worked!
and
Thank you to everyone who helped me!
and
Thank you to everyone who helped me!
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Um I might need a little bit more help
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- Uniquename1
- Scratcher
100+ posts
(Fixed)
there is one problem with that what if there are multiple clones of the Sentry?
Surprisingly it works well with any number of clones drawing from the same bullet pool.
Try my games.
Scratch Sprite Club VI Soccer
Star Fighter Shooting
Space Marines: Boarding Party Strategy
Lion Runner Running/ Platformer
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Um could I get some additional help?
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
I need The Red Dispenser to actually heal the Red Engineer (you will find the health in the Red Engineer sprite)
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
Fixed original problem clarified at the top
Last edited by StrangeMagic32 (July 23, 2017 01:26:12)
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- danielhal
- Scratcher
100+ posts
(Fixed)
What do you mean by this? Do you want it to heal them when they're shot? If so, do you want it to shoot the player too? I need The Red Dispenser to actually heal the Red Engineer (you will find the health in the Red Engineer sprite)
- StrangeMagic32
- Scratcher
1000+ posts
(Fixed)
I fixed that problem
“Remember the worth of souls is great in the sight of God;”
- Doctrine and Covenants 18:10
I have since moved to @JollyWinter
- Discussion Forums
- » Help with Scripts
- » (Fixed)