RPG Starter

by Falacy
[Website] [Share] [Zip]
ID:292068
 
mob/verb
Say(msg as text)
view()<<"[usr] says: [msg]"
mob/verb
World_Say(msg as text)
world<<"<b>[usr]:</b> [msg]"

Who()
var/counter=0
for(var/mob/Player/M in world)
counter+=1
usr<<"<b>[counter] Players Online"


verbs.dm:1:error: bad argument definition
thats my error and i cant fixs it
I don't get that error, but you do have counter+=1 tabbed wrong
In response to Falacy (#1)
what should it be and what ever happened to your tutorial
In response to Zelda123 (#2)
Uh, it should be tabbed in one more?
And they're in the General Discussion section. Guess I could move them into this section.
In response to Falacy (#3)
well if you find out how plz tell me because it the last error before my game is done(its my first one)
mob/verb
Say(msg as text)
view()<<"[usr] says: [msg]"]

World_Say(msg as text)
world<<"<b>[usr]:</b> [msg]"

Who()
var/counter=0
for(var/mob/M in world)
counter+=1
usr<<"<b>[counter] Players Online:</b>"
//usr<<"\icon[src.icon] [M.Name] Level: [src.Level]"


You could also make it viewers() instead of view(), if you did this, it would make it so when you use Say() its only to people that see you.

I also put an extra line in the Who() verb. Test it out in your game.

If you have any more problems with it, just ask.
In response to The Great Sabin (#5)
no the same error is still there
In response to Zelda123 (#6)
Zelda123 wrote:
no the same error is still there

Then tell me where the error is located!
In response to The Great Sabin (#7)
line one

by zelda just on a different account
In response to Apple360 (#8)
whats in the code before that then o.O
In response to Falacy (#9)
thats the top of the page there is no code above
In response to Zelda123 (#10)
if you need the codes of the whole game just say it all original so do make a game out of it