Hello everyone yes its me kalzimere its been a while sense i've written on the boards for help but now i need some help lol. Im creating a fantasy game thats all i say for now and i need it so at a certain level a new verb is added to there spell list. I have this code here....
greenmagiccheck()
if(usr.level >=2)
usr/verb/ +=new/mob/proc/darktest()
darktest()
set category="Magic-Transformations"
icon_state="darktest"
The code compiles fine but when i actualy do it in the game and reach level to there is a bunch of errors whcih happen these errors look like this....
Kalzimere (/mob): greenmagiccheck()
Kalzimere (/mob): Stat()
runtime error: type mismatch
proc name: greenmagiccheck (/mob/proc/greenmagiccheck)
usr: Kalzimere (/mob)
src: Kalzimere (/mob)
call stack:
Well theres all the info i think i can give that will hlp with the problem. I thank you all for always helping me in the past and those who attempt and just plainly take the time to look my problem over. Thanks again
-kalzimere
ID:150211
Nov 28 2001, 11:17 am
|
|
All i can see wrong with it is that you need to do usr.verbs+=new/proc/whatever()