MakeBug(new mob)
var/mob/bug/bug = new(loc)
Problem description:please dont laugh at me im comepletly new to code, i hardly understand it but i do. it says bad argument definition. Its under mob/verb
ID:146046
Sep 30 2005, 10:16 am
|
|
Code:
MakeBug(new mob) Problem description:please dont laugh at me im comepletly new to code, i hardly understand it but i do. it says bad argument definition. Its under mob/verb |
Sep 30 2005, 10:40 am (Edited on Sep 30 2005, 12:20 pm)
|
|
I don't think you need the new mob in the parenthesis. Also, specify the location. Ex :
|
In response to Mecha Destroyer JD
|
|
it gives me another error:
Invalid proc definition MakeBug var/mob/bug/bug = new bug.loc = usr.loc //location bug.loc = locate (1,1,1) |
In response to WarLin
|
|
Please use
tags. And that was an example, apparantly you didn't get it.
mob/verb/Make_Bug() // This is a new verb, must have opening and closing parenthesis no matter what. However, what you want to do is, if you aren't going to use a "bug" var.. mob/verb/Make_Bug() |
In response to Sinoflife
|
|
I get it now. Thanks.
Dont forget though, I dont know much about coding |
In response to WarLin
|
|
Oh..My fault..I didn't say that you could use either or..
|