This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-03-09 07:25:19

teguki
Scratcher
Registered: 2008-03-06
Posts: 72

20% more ammo

how do i make each mag have 20% more bullets when my adrenaline level reaches 100?

not my real adrenaline level, but the one in the game

Offline

 

#2 2008-03-09 08:25:14

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: 20% more ammo

Have a variable "Bonus" in the script for reloading.

"Set ammo to (Bonus x 10)" (where 10 is the magazine size)

Normally, Bonus is 1
When adrenaline is over 100, set bonus to 1.2.


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#3 2008-03-09 09:47:32

teguki
Scratcher
Registered: 2008-03-06
Posts: 72

Re: 20% more ammo

thanx

Offline

 

Board footer