var/obj/O=O=new/obj/Supplemental/DamageNum
Code\NPCS.dm:123:error: proc definition not allowed inside another proc:
any ideas what this could be?
ID:141087
Jun 23 2009, 1:14 pm
|
|
var/obj/O=O=new/obj/Supplemental/DamageNum Code\NPCS.dm:123:error: proc definition not allowed inside another proc: any ideas what this could be? |
In response to Darksteam Games
|
|
mob/proc/DamageShow(var/damage,var/VarR=200,VarG=0,VarB=0) it still dosent work? Code\NPCS.dm:124:error: proc definition not allowed inside another proc when i click the error it points at var/obj/O = new/obj/Supplemental/DamageNum |
In response to Sleaze
|
|
Sleaze wrote:
mob/proc/DamageShow(var/damage,var/VarR=200,VarG=0,VarB=0) it still dosent work? Can't take two seconds to actually look over the code? You put 'is' instead of 'if'. |
In response to Sleaze
|
|
Sleaze wrote:
mob/proc/DamageShow(var/damage,var/VarR=200,VarG=0,VarB=0) it still dosent work? Take out the ":" before "src:z", then put "if", not "is"... |
In response to T3h P3ngu1n
|
|
well even tho i fixed that it still says the same error.
|
In response to Sleaze
|
|
Since we can quite obviously know what line your talking about, you don't need that compiling error you put there!
But seriously, it says something along the lines of "line 101", well we don't know which line is 101. We don't have "Go to line" or "double click error message". |
In response to Demon_F0rce
|
|
mob/proc/BasicSkillUse(var/obj/Skills/S)roc
if(src.Rei>=S.ReiCost) src.Rei-=S.ReiCost return 1 else src<<"You dont have enough Reiatsu to use this!" return 0 And when i dbl click the error it marks the mob/proc/BasicSkillUse(var/obj/Skills/S)roc line. the error was bad argument definition.. |
In response to Sleaze
|
|
is the "roc" supposed to be on that line? I'm still kinda new to programming with dream maker but that doesn't look like it's supposed to be there.
|
In response to Sleaze
|
|
...what's with the "roc" after the )?
|
Don't define it twice?