ID:143285
 
Code:
//<works>
mob/verb/Psiblast1(mob/M as mob in oview(1))


var/Psiblast = pick(question_list1)
var/Answer = ParseQuestion(usr,Psiblast)
if(Answer == TRUE)
src:attack(M)
else
src << "False."
Backlash()
DeathCheck()
//</works>
//<8errors>
mob/verb/Psiblast1(mob/M as mob in oview(1))

set category = "Psionic"
var/Psiblast = pick(question_list1)
var/Answer = ParseQuestion(usr,Psiblast)
if(Answer == TRUE)
src:attack(M)
else
src << "False."
Backlash()
DeathCheck()
//</8errors>


If I try to set a category for this verb it gives me a heap of errors, I haven't really had problems doing it with any other verbs but this one just doesn't want to cooperate

Fixed it finally, though I don't really get why it can't be in either position.

mob/verb/Psiblast1(mob/M as mob in oview(1))


var/Psiblast = pick(question_list1)
var/Answer = ParseQuestion(usr,Psiblast)
set category = "Psionic"
if(Answer == TRUE)
src:attack(M)
else
src << "False."
Backlash()
DeathCheck()
In response to Kichimichi
Well that doesn't really make sense...
In response to Kaiochao2536
Why are you using :?
In response to Kichimichi
Uh, actually it should give you a warning if it's not at the top.
In response to Kaioken
I think i switched them all to . instead of : a little while ago, I'm sure I was using it because an example I saw was using it that way, monkey see monkey do, anyhow i'm fine now got it working tx anyhow
Mike