PDA

View Full Version : FPS Boss help,


ranni100
11-13-2009, 08:45 AM
Making a fps shooter, where if you click on the object or person its dispairs and you get potins etc, now i want to make a boss that you have to click more then once to kill, i want it so everytime you click it its opicitiy drops from like full to 0.9, 0.8, 0.7 etc till its gone, but i dont know how to do this so itill take 10 clicks to kill

dubastot
11-13-2009, 02:25 PM
You can make a number variable and set it at 10. Every time he's shot decrement the number variable. For every numbers it goes down have a method where if the variable equals what number boss opacity set to 60% or whatever.