Ive been having a constant problem with this undefined proc. I'm pretty new at this, but I already read the DM guide up to chapter 18. Here is an example of the code:
rinnegan
icon_state = "Rinnegan"
Click()usr.rinnegan()
It's pretty short because this is in a list of different things that are written the same way but this is the only one with the problem. It's like this
error: usr.rinnegan: undefined proc
ID:155802
Mar 16 2011, 1:40 pm
|
|
Mar 16 2011, 3:14 pm
|
|
So your trying to code in Pein's Rinnegan? Is your game a rip of Davin Naruto's game? Because if it is you need to code in a var that works. I cant be too sure what it would be unless I know what the full code is.
|
In response to DragonBallz_21_24
|
|
no, no I dont make rips. I don't think i made a proc for the user by that name. I don't really know how one should look like because I haven't coded in a very long time.
Here is the code again: obj/jutsu layer=95 icon='jutsus.dmi' MouseDrag() mouse_drag_pointer=src MouseDrop(obj/overobject,srclocation,overlocation) if(istype(overobject,/obj/hotslot/)) screen_loc=overobject.screen_loc usr.client.screen+=src if(name==usr.slot1)usr.slot1=null if(name==usr.slot2)usr.slot2=null if(name==usr.slot3)usr.slot3=null if(name==usr.slot4)usr.slot4=null if(name==usr.slot5)usr.slot5=null if(name==usr.slot6)usr.slot6=null if(name==usr.slot7)usr.slot7=null if(name==usr.slot8)usr.slot8=null if(name==usr.slot9)usr.slot9=null switch(overobject.icon_state) if("1")usr.slot1=name if("2")usr.slot2=name if("3")usr.slot3=name if("4")usr.slot4=name if("5")usr.slot5=name if("6")usr.slot6=name if("7")usr.slot7=name if("8")usr.slot8=name if("9")usr.slot9=name else usr.client.screen-=src if(name==usr.slot1)usr.slot1=null if(name==usr.slot2)usr.slot2=null if(name==usr.slot3)usr.slot3=null if(name==usr.slot4)usr.slot4=null if(name==usr.slot5)usr.slot5=null if(name==usr.slot6)usr.slot6=null if(name==usr.slot7)usr.slot7=null if(name==usr.slot8)usr.slot8=null if(name==usr.slot9)usr.slot9=null Click() if(loc!=usr)del src ..() Transformation icon_state="transformation" Click()usr.transformation() Body_Flicker_Technique icon_state="body flicker" Click()usr.bodyflickertechnique() Substitution icon_state="substitution" Click()usr.substitution() Mastered_Substitution icon_state="mastered substitution" Click()usr.substitutionmast() Clone_Jutsu icon_state="clone" Click()usr.clonejutsu() Shadow_Clone_Jutsu icon_state="shadow clone" Click()usr.shadowclonejutsu() Rasengan icon_state="rasengan" Click()usr.rasengan() Advanced_Tracking icon_state="advanced tracking" Click()usr.advancedtracking() Shuriken_Clone_Jutsu icon_state="shuriken clone" Click()usr.shurikenclonejutsu() troj Water_Dragon_Jutsu icon_state="mistS.png" //Click()usr.WaterDragonJutsu Lightning_Spear icon_state="lightning spear" Click()usr.lightningspear() Lightning_Flash icon_state="lightning flash" Click()usr.lightningflash() leaf Fuuma_Shuriken icon_state="fuuma shuriken" Click()usr.fuumashuriken() Fireball_Jutsu icon_state="fireball" Click()usr.fireballjutsu() One_Thousand_Years_of_Death icon_state="one thousand years of death" Click()usr.constipation() Twin_Dragon_Weapon_Barrage icon_state="twin dragon weapon barrage" Click()usr.dragonweapon() Sexy_Jutsu icon_state="sexy" Click()usr.sexy() hyuuga Byakugan icon_state="byakugan" Click()usr.byakugan() Rotation icon='jutsus.dmi' icon_state="kaiten" Click()usr.kaiten() Sixty_Four_Palms icon_state="64 strikes" Click()usr.sixtyfour() One_Twenty_Eight_Palms icon_state="128 strikes" name="One Hundred and Twenty Eight Palms" Click()usr.onetwentyeight() Empty_Palm icon_state="empty palm" Click()usr.empty() Mountain_Crusher icon_state="mountain crusher" Click()usr.mountain() wind Sickling_Wind icon_state="sickling wind" Click()usr.sicklingwind() Sandstorm icon='jutsus.dmi' icon_state="sandstorm" Click()usr.sandstorm() Air_Bullet icon_state="air bullet" Click()usr.airbullet() Great_Sickling_Wind icon_state="great sickling wind" Click()usr.greatsicklingwind() Ripping_Gale_Jutsu icon_state="ripping gale jutsu" Click()usr.rippinggalejutsu() Dragons_Storm name="Dragon's Storm" icon_state="dragons storm" Click()usr.dragonsstorm() uchiha Sharingan1 name="Sharingan" icon_state="sharingan1" Click()usr.sharingan() Sharingan2 name="Sharingan" icon_state="sharingan2" Click()usr.sharingan() Sharingan3 name="Sharingan" icon_state="sharingan3" Click()usr.sharingan() Sharinganm name="Sharingan" icon_state="sharingan3" Click()usr.sharingan() Mangekyou_Sharingan icon_state="mangekyou" Click()usr.mangekyou() Amaterasu icon_state="blackfire" Triple_Windmill icon_state="triplewindmill" Click()usr.triplewindmill() Phoenix_Flower_Jutsu icon_state="phoenix flower" Click()usr.phoenixflower() Chidori icon_state="chidori" Click()usr.chidori() Dragon_Flames_Jutsu icon_state="dragon flames" Click()usr.dragonflames() Great_Dragon_Flames icon_state="great dragon flames" Click()usr.greatdragonflames() Peregrine_Falcon_Drop icon_state="peregrine falcon drop" Click()usr.falcondrop() leafnon Shadow_Clone_Combo icon_state="shadow clone combo" Click()usr.shadowclonecombo() Fire_Dragon_Flame_Blast icon_state="fire dragon flame blast" Click()usr.firedragonflameblast() Black_Chidori icon_state="" Click()usr.blackchidori() Lightning_Blade icon_state="lightning blade" Click()usr.raikiri() nara Shadow_Paralysis icon_state="shadow paralysis" Click()usr.paralysis() Shadow_Neck_Bind icon_state="shadow neck bind" Click()usr.neckbind() Shadow_Imitation icon_state="shadow imitation" Click()usr.imitation() Shadow_Fist_Jutsu icon_state="shadow fist" Click()usr.shadowfist() Shadow_Sewing_Jutsu icon_state="shadow sewing" Click()usr.shadowsewing() Shadow_Summoning icon_state="shadow summoning" Click()usr.shadowsummoning() kaguya Dance_of_the_Camellia icon_state="camellia" Click()usr.camellia() Dance_of_the_Willow icon_state="willow" Click()usr.willow() Dance_of_the_Pines icon_state="pines" Click()usr.pines() Dance_of_the_Clematis icon_state="clematis" Click()usr.clematis() Finger_Bullets icon_state="bonebullet" Click()usr.fingerbullets() Dance_of_the_Seedling_Ferns icon_state="seedling ferns" Click()usr.seedlingferns() sound Striking_Shadow_Snake icon_state="shadowsnake" Click()usr.shadowsnake() Shuriken_Barrage icon_state="shuriken barrage" Click()usr.shurikenbarrage() Massacre_Shadow_Snakes icon_state="massacresnakes" Click()usr.massacresnakes() Death_Viewing_Technique icon_state="deathviewing" Click()usr.deathviewing() Rashoumon icon_state="rashoumon" Click()usr.rashoumon() Curse_Bite icon_state="curse bite" Click()usr.cursebite() Curse_Seal icon_state="curse seal" Click()usr.curseseal() iron Iron_Sand_Spikes icon_state="iron sand spikes" Click()usr.ironspikes() Iron_Sand_Rain icon_state="iron rain" Click()usr.ironrain() Iron_Sand_Control icon_state="iron sand control" Click()usr.ironcontrol() Iron_Dissolve icon_state="iron sand dissolve" Click()usr.irondissolve() Iron_Sand_Spear icon_state="iron spear" Click()usr.ironspear() Iron_Sand_World icon_state="iron world" Click()usr.ironworld() Iron_Shield icon_state="iron shield" Click()usr.ironshield() soundnon Multiple_Attacks icon_state="multiattack" Click()usr.multiattack() spider Golden_Spider_Kunai icon_state="spiderkunai" Click()usr.spiderkunai() Spider_Sticking_Spit icon_state="spiderspit" Click()usr.spiderspit() Spider_Cocoon icon_state="spidercocoon" Click()usr.spidercocoon() Spider_War_Bow icon_state="spiderbow" Click()usr.spiderbow() Golden_Spider_Spike icon_state="spiderspikes" Click()usr.spiderspikes() Rain_Of_Spiders icon_state="rain of spiders" Click()usr.rainofspiders() soundc Air_Blast icon_state="airblast" Click()usr.airblast() Splicing_Sound_Wave icon_state="splicing" Click()usr.zankuuha() Chakra_Absorption icon_state="chakra absorb" Click()usr.chakraabsorb() Chakra_Barrier icon_state="chakra barrier" Click()usr.chakrabarrier() Vibrating_Sound_Drill icon_state="vibrating sound drill" Click()usr.vibratingsounddrill() Super_Sonic_Splicing_Wave icon_state="super sonic splicing" Click()usr.superzankuuha() sand Sand_Clone_Jutsu icon_state="sand clone" Click()usr.sandclone() Wind_Pressure_Blast icon_state="wind pressure blast" Click()usr.windpressureblast() Wind_Sword icon_state="wind sword" Click()usr.windsword() Violent_Wind_Palm icon_state="violent wind palm" Click()usr.violentwindpalm() sandc Sand_Shuriken icon_state="sandshuriken" Click()usr.sandshuriken() Sand_Shell icon_state="sand shell" Click()usr.sandshell() Shukakus_Spear name="Shukaku's Spear" icon_state="shukakusspear" Click()usr.shukakusspear() Sand_Tsunami icon_state="sand tsunami" Click()usr.sandtsunami() Sand_Coffin icon_state="sand coffin" Click()usr.sandcoffin() Sand_Burial icon_state="sand burial" Click()usr.sandburial() All of these work except the new one. |