The code I hace that does this, well, doesn't.
How would you go about it? The way I do is ineffectual.
--Vito
ID:270339
Mar 19 2006, 11:11 am
|
|
In response to Unknown Person
|
|
Oh. Oops. Sorry.
An animation over the attacked mob that goes away after a few seconds. Can be one of several types, depending on what attacks the attacker is using. That explanatory enough? --Vito |
In response to Vito Stolidus
|
|
You can just add an animation to the player's overlays, then take it away after a few seconds.
~~> Unknown Person |
In response to Unknown Person
|
|
I'm sorry - this has been a problem for me in the past. Can you just:
obj/overlayer If not, why? --Vito |
In response to Vito Stolidus
|
|
That won't work because you can't modify what an overlay looks like when it's stuck on an icon. You're best bet is to use image(), and directly set the overlay's appearance to what you want.
atom/proc And to do the fancy slashing animation... mob/proc ~~> Unknown Person |
In response to Unknown Person
|
|
Wouldn't flick do just fine for an animation?
|
In response to Unknown Person
|
|
Okay, thanks.
--Vito |
In response to Vito Stolidus
|
|
Oh, one more thing: How do you modify the "layer" of overlays like those? I kind of need to do that.
--Vito |
In response to Vito Stolidus
|
|
You can't change the layer of flicks. They are best for things like doors so don't use flicks for this.
|
In response to SJRDOZER
|
|
Not necessary. Just fixed it. My 1st idea was, for once, successful.
--Vito |
Have*
You need to be more descriptive in what you want, since nobody can read your mind and know what the flashy slicing animation would look like.
~~> Unknown Person