ID:178580
Apr 25 2002, 10:39 pm
|
|
Could somebody give me a good example of a repop code? I don't quite understand how it works.
|
Apr 25 2002, 10:53 pm
|
|
In response to Nadrew
|
|
I tried this code but it didn't work:
verb get() set src in oview(1) usr << "You get [src]" Move(usr) repopulate(src) proc repopulate(src) world.Repop(src) spawn(rand(10,40)) repopulate(src) |
In response to Likwiddraino000
|
|
I don't see what you're trying to do, but Repop() repopulates everything in the world.
|
In response to Likwiddraino000
|
|
Likwiddraino000 wrote:
I tried this code but it didn't work: Why are you passing src to repopulate? Are you trying to repopulate all of the mobs? That's what world.Repop does. |
In response to Nadrew
|
|
I thought everything had to have src passed or whatever, it's so confusing. I never know when there's gonna be this one little tiny error that screws everything up. Do I put the code under world or something? And do I get rid of all of the srcs in it?
|