Code:
if(!src.form_4)
if(src.powerlevel_max >= 10000000)
src.doing = 1
src.icon_state = "enrage"
src.frozen = 1
sleep(trans_time)
src.powerlevel = src.powerlevel_max
src.ki = src.ki_max
src.strength = src.strength_max
src.defence = src.defence_max
src.critical = src.critical_max
src.dodge = src.dodge_max
src.reflect = src.reflect_max
src.block = src.block_max
src.overlays -= src.goku_hair_ssj
src.overlays -= src.gohan_adult_hair_ssj
src.overlays -= src.gohan_teen_hair_ssj
src.overlays -= src.future_gohan_hair_ssj
src.overlays -= src.vegeta_hair_ssj
src.overlays -= src.trunks_long_hair_ssj
src.overlays -= src.goku_hair_ussj
src.overlays -= src.gohan_adult_hair_ussj
src.overlays -= src.gohan_teen_hair_ussj
src.overlays -= src.future_gohan_hair_ussj
src.overlays -= src.vegeta_hair_ussj
src.overlays -= src.trunks_long_hair_ussj
src.overlays += src.hair_ssj3
src.overlays -= src.aura
src.overlays += src.ssj_aura
spawn(25) src.overlays -= src.ssj_aura
src.powerlevel *= 18
src.ki *= 18
src.strength *= 9
src.defence *= 5
src.block += 6
src.dodge += 10
src.critical += 6
src.reflect += 6
src.counter += 10
src.speed = 1.5
view(6) << "[src.name] screams as their hair flows over their Back and turns Gold!"
src.icon_state = ""
src.form_4 = 1
src.frozen = 0
src.doing = 0
return
else
if(!src.form_5)
if(src.powerlevel_max >= 17500000)
src.doing = 1
src.icon_state = "enrage"
src.frozen = 1
sleep(trans_time)
src.powerlevel = src.powerlevel_max
src.ki = src.ki_max
src.strength = src.strength_max
src.defence = src.defence_max
src.critical = src.critical_max
src.dodge = src.dodge_max
src.reflect = src.reflect_max
src.block = src.block_max
src.overlays -= src.goku_hair_ssj
src.overlays -= src.gohan_adult_hair_ssj
src.overlays -= src.gohan_teen_hair_ssj
src.overlays -= src.future_gohan_hair_ssj
src.overlays -= src.vegeta_hair_ssj
src.overlays -= src.trunks_long_hair_ssj
src.overlays -= src.goku_hair_ussj
src.overlays -= src.gohan_adult_hair_ussj
src.overlays -= src.gohan_teen_hair_ussj
src.overlays -= src.future_gohan_hair_ussj
src.overlays -= src.vegeta_hair_ussj
src.overlays -= src.trunks_long_hair_ussj
src.overlays -= src.hair_ssj3
src.overlays += src.hair_ssj4
src.overlays -= src.aura
src.overlays += src.ssj_aura
spawn(25) src.overlays -= src.ssj_aura
src.overlays -= src.big_blue_elec
src.overlays += src.big_red_elec
src.powerlevel *= 23
src.ki *= 19
src.strength *= 13
src.defence *= 8
src.block += 12
src.dodge += 18
src.critical += 12
src.reflect += 12
src.counter += 18
src.speed = 0.5
view(6) << "[src.name]'s screams in rage as their hair turns Black as Red fur sprouts on their Chest!"
src.icon = 'Male - SSJ 4.dmi'
src.icon_state = ""
src.form_5 = 1
src.frozen = 0
src.doing = 0
return
else
if(!src.form_5)
if(src.powerlevel_max >= 25000000)
src.doing = 1
src.icon_state = "enrage"
src.frozen = 1
sleep(trans_time)
src.powerlevel = src.powerlevel_max
src.ki = src.ki_max
src.strength = src.strength_max
src.defence = src.defence_max
src.critical = src.critical_max
src.dodge = src.dodge_max
src.reflect = src.reflect_max
src.block = src.block_max
src.overlays -= src.goku_hair_ssj
src.overlays -= src.gohan_adult_hair_ssj
src.overlays -= src.gohan_teen_hair_ssj
src.overlays -= src.future_gohan_hair_ssj
src.overlays -= src.vegeta_hair_ssj
src.overlays -= src.trunks_long_hair_ssj
src.overlays -= src.goku_hair_ussj
src.overlays -= src.gohan_adult_hair_ussj
src.overlays -= src.gohan_teen_hair_ussj
src.overlays -= src.future_gohan_hair_ussj
src.overlays -= src.vegeta_hair_ussj
src.overlays -= src.trunks_long_hair_ussj
src.overlays -= src.hair_ssj4
src.overlays += src.hair_ssj5
src.overlays -= src.aura
src.overlays += src.ssj_aura
spawn(25) src.overlays -= src.ssj_aura
src.overlays -= src.big_blue_elec
src.overlays += src.big_red_elec
src.powerlevel *= 23
src.ki *= 19
src.strength *= 13
src.defence *= 8
src.block += 12
src.dodge += 18
src.critical += 12
src.reflect += 12
src.counter += 18
src.speed = 0.5
view(6) << "[src.name]'s screams in rage as their hair turns Black as Red fur sprouts on their Chest!"
src.icon = 'Male - SSJ 5.dmi'
src.icon_state = ""
src.form_5 = 1
src.frozen = 0
src.doing = 0
return
Problem description:
3.0 Commands\3.4 Transformation Commands\3.42 Saiyan\Saiyan Transformation.dm:363:error:else :'else' clause without preceding 'if' statement
can I get some help? because if i delete the 'else' it makes my ssj5 repeat constantly and it dosnt go to ssj6
ID:263821
Dec 8 2007, 4:36 pm
|
|
Dec 8 2007, 5:10 pm
|
|
i can answer this question if you show me the coding within the dm tags, and if you show me which line has the problem
|
You forgot an if somewhere. I am not going to sift through the source code you provided.
George Gough |
In response to KodeNerd
|
|
KodeNerd wrote:
You forgot an if somewhere. I am not going to sift through the source code you provided. i know i forgot an if somewhere..but where the if is suposed to be there is an if there -.- which is what i dont get |
In response to King killer 113711
|
|
i will answer that if you will repost in the dm tags -_-
|
In response to Scarymonkeys623
|
|
Scarymonkeys623 wrote:
i will answer that if you will repost in the dm tags -_- uhm stupid question but how i do that =P |
In response to King killer 113711
|
|
if(!src.form_4) nvm, i'll do it my self it's just harder for me to tell with the screwed up indents, which line does it take you to when you dbl click it??? |
In response to Scarymonkeys623
|
|
between form four and form five the 'else' it says i need it an if statement which i have
|
In response to King killer 113711
|
|
y at the top of the page the 2nd if , it has 1 more indent then the else, maybe if you try to make it equal it will work, that means add 1 indent to the else and then every thing after it, im not sure if that will help but thats the only thing i can find in this snippet. I cant promise you that will work because i havnt seen the whole src in that file.
|
In response to Scarymonkeys623
|
|
Scarymonkeys623 wrote:
y at the top of the page the 2nd if , it has 1 more indent then the else, maybe if you try to make it equal it will work, that means add 1 indent to the else and then every thing after it, im not sure if that will help but thats the only thing i can find in this snippet. I cant promise you that will work because i havnt seen the whole src in that file. want me to repost the hole file? because i tried evening it out and nothing... ahh..i got it well thanks for the help all of you |
In response to Kaiochao2536
|
|
where i cant see that >_>
|