Havn't been using Scratch for a long time so not sure whether this is advanced or not, but my question is:
If i have a character (like a stickman) and want to add several attacks that do seperate changes on variable (Health) when targetting another character.
And, Is there any way that I can use a specific attack to amplify the variable loss when hit by that attack?
Any ideas are welcomed
Offline
Make a variable called "Attack type", and a sprite called "PlayerAttack", then a broadcast "PlayerFire". Make several costumes for the attack sprite, which must correspond with Attack type variable. Then, for example:
When I receive [ PlayerFire ]
if < (Attack type) = [ 2 ] >
if <touching [ PlayerAttack ] ?>
change (health) by [-10]Offline