script smartbomb

dantedevil

Well-known member
Hello!

I making a special using the original smartbomb and some problems coming again.
In this special when the character make the move and the screen freezes, he spawn some entities.
That the problem, because the spawned entities are frozen until the animation characters end.
And all the animation of entities shows after the end screen freeze.

1. Its possible freeze all screen via script?

2. I guess  differents scripts is needed to make any attack like smartbomb (attack, burn, shock, etc).
I need this three.

3. The attacks via script can damage the enemy in any
animation like the smartbomb?
Ex: during a special of the enemy (bbox 0 0 0 0).

Thanks!
 
1. Its possible freeze all screen via script?
You can spawn a text entity, it will freeze all screen while active. But maybe there is another method.

3.The attacks via script can damage the enemy in any
animation like the smartbomb?
Smartbomb can damage any entity even if it doesn't have a bbox active?

About question 2, "Smartbomb" have some options:

smartbomb (power) (type) (pause) (length}

~This is for players. Enemies use the 'bomb' command for something else. Don't mix the two up!
~If this is present, the player's special will work differently: it will become a "smart bomb" which damages all onscreen enemies, regardless of position.
~{power} is an integer value which determines attack damage.
~{type} is the attack's effect type:
0 = knockdown1 (based on attack1)
1 = knockdown2 (based on attack2)
2 = knockdown3 (based on attack3)
3 = knockdown4 (based on attack4)
4 = blast
5 = burn
6 = freeze
7 = shock
8 = steal

~{pause} is a binary value which determines whether or not all action onscreen pauses when you use your special. Used for a dramatic effect.
~If {type} was set to 6 (freeze), {length} can be used to determine how long the enemies will remain frozen.
~This command can also be used for items. In this way you can make "smart bomb" items to clear the screen. If you do use it with an item, {length} will replace {pause}
~Exactly what is so smart about a bomb that just hits everything, anyway?
 
About freezing screen, Damon Caskey once posted how to freeze others but yourself.

3. The attacks via script can damage the enemy in any animation like the smartbomb?

Yes. Script based attacks doesn't care about enemy or should I say entity's bbox at all.
 
Back
Top Bottom