var
isattacking = 0
mob/verb
attack()
set category="Attack"
if(isattacking == 0)isattacking=1
src.Health-=usr.strength
spawn(50)attack()
if(isattacking == 1)isattacking=0
I get a indentation were the red is. Shouldn't this work?
ID:266207
Sep 20 2001, 10:26 am
|
|
In response to Skysaw
|
|
Skysaw wrote:
Air _King wrote: doesn't work. |
In response to Air _King
|
|
Air _King wrote:
Skysaw wrote: You have to use the same style if's in a proc. If you use one line ifs Ie if(lala == lala) lalala You have to use it throughout the entire proc/whatever Goes with the other way as well just change if(isattacking == 1) isattacking = 0 to if(isattacking == 1) isattacking = 0 Alathon |
In response to Alathon
|
|
Alathon wrote:
Air _King wrote: doesn't work. |
In response to Air _King
|
|
Air _King wrote:
Alathon wrote: oh well, too bad. You know, if you can't give more details, there's nothing we can do. |
In response to Air _King
|
|
Air _King wrote:
Alathon wrote: doesn't work is about as helpfull as if I send you on a quest to find the holy grail, and heres the location "Somewhere on the surface of the earth, or inside it". Whats the chance you'l know where to find it? Well, unless your James Bond or something of the like, or in a movie, 0. Instead of saying "It wont work","Doesnt work","Nope" say "Its giving me this error : (error)", this is the line : (line), and this is what I did to try to fix it : (whatever, u get it?)" Alathon |
In response to Alathon
|
|
doesn't work is about as helpfull as if I send you on a quest to find the holy grail, and heres the location "Somewhere on the surface of the earth, or inside it". Whats the chance you'l know where to find it? Well, unless your James Bond or something of the like, or in a movie, 0. What a bizarre metaphor. Why would James Bond be able to find the holy grail? :-) -AbyssDragon |
In response to AbyssDragon
|
|
AbyssDragon wrote:
doesn't work is about as helpfull as if I send you on a quest to find the holy grail, and heres the location "Somewhere on the surface of the earth, or inside it". Whats the chance you'l know where to find it? Well, unless your James Bond or something of the like, or in a movie, 0. Because hes James Bond :P Call up M, get em to trace the Holy Grail, and then speed off in his Car to the location using a GSP? LoL. I have no idea where that came from but I was thinking of Monthy Pyton so there...My thoughts were temporarily "dislodged" by the awe of seeing knights bashing eachother on the head in Camelot. Alathon |
In response to AbyssDragon
|
|
AbyssDragon wrote:
doesn't work is about as helpfull as if I send you on a quest to find the holy grail, and heres the location "Somewhere on the surface of the earth, or inside it". Whats the chance you'l know where to find it? Well, unless your James Bond or something of the like, or in a movie, 0. Because he knows how to go inside the Earth, of course. *smirk* |
knock "isattacking=1" down a line, and indent it as you did the other two lines below