ID:176967
 
How to I make an attack long-ranged? and how do i make it like a loading animation then the real thing? I'd really apprecitate it.
Leahcim wrote:
How to I make an attack long-ranged?

This depends on how attacks work right now. Can you explain in depth what you're going for, and what you've currently got for an attack?

and how do i make it like a loading animation then the real thing?

Not sure at all what you mean here. If you could provide some specifics it'd help.

Lummox JR
Change oview(1) to oview(X), where X is the range, and to show a charge up animation, flick("chargeup",usr), then sleep() for the number of frames in the chargeup animation * the tick delay in the chargeup animation.
In response to Garthor
Tts flick("[icon_state]", object), so it should be flick("chargeup",usr)
In response to OneFishDown
Oops, you're right.
In response to Garthor
thx that solves my problem on the loading part. now how do i make it have a picture of the attack go after the target?Also how to make it take off MP(forgot to metion it sry)
In response to Leahcim
missile() proc.
In response to Garthor
mob
verb
Kamehameha(mob/M as mob in oview(1)) //attack a mob within 1 tile of you
set category = "Battle"
flick("bigbang",usr)
sleep(10)
if (M.HP <= 0) //if M's HP are at or below 0...
usr << "[M] is already dead!"
else //otherwise...
usr << "You attack [M] with a Kamehameha!" //send this message to the usr
oview(100) << "[usr] attacks [M] with a Kamehameha!" //send this message to everybody else
var/damage = rand(5,10) //assign a random # to a new variable
world << "[damage] damage!" //tell the damage to the world
M.HP -= damage //take away the damage from M
M:DeathCheck()


this is what i have yet when i try to do the loading thing it dont work. Whats wrong with it?
In response to Leahcim
What do you mean, "loading thing?"
In response to Garthor
an image before you accually fire like a charging thing.
In response to Leahcim
"bigbang" has to be an icon_state.
In response to Garthor
i have it like that and does it have to be in the characters folder?
In response to Leahcim
An icon_state of the character icon.
In response to Garthor
?????? can you plz give me the full thing? i got lost and my script went haywire so i lost everything.....
In response to Leahcim
Nope, sorry, I can't.
In response to Garthor
darn...... hmmm hold on just tell me how to have it go after the guy i choose and how to add a pic to that