SummonAll(mob/characters/M in world)
set category = "Police"
if(M.npc == 0)
M << "<b>Officer [usr] has summoned everyone."
M:loc = usr.loc
M:y -= 1
M.safe = 0
1
2
ID:146923
Dec 7 2004, 3:30 pm
|
|
is there something wrong with this??
|
In response to N1ghtW1ng
|
|
lol ill test it now
|
In response to Ssj3goku87
|
|
nope i think somethings still wrong
|
In response to Ssj3goku87
|
|
GMsummonall() kthnxgottago |
In response to Hell Ramen
|
|
nope still x_x
|
In response to Ssj3goku87
|
|
Ssj3goku87 wrote:
nope still x_x What isn't working, exactly? |
In response to Lenox
|
|
Lenox wrote:
Ssj3goku87 wrote: This code isnt working GMsummonall() |
In response to Ssj3goku87
|
|
I mean what's it not doing properly, is it not properly relocating the characters, or what?
|
In response to Lenox
|
|
its making an error in dream maker
|
In response to Ssj3goku87
|
|
Can you please post the error?
|
In response to Lenox
|
|
police2.dm:1170 Inconsistent indentation
|
In response to Ssj3goku87
|
|
NEVER EVER EVER EVER copy and paste code.
|
In response to Hell Ramen
|
|
Lol then what do i do?
|
In response to Ssj3goku87
|
|
Fix the indentation, if you can't do that, read the first (I think) chapter of the DM Guide.
|
Yes
mob/Admin/verb/SummonAll(var/mob/player/M) That should work...it is kind of untested though. |
In response to Hell Ramen
|
|
Srry *cries* this is sooo damn sad *shakes his head*
|
In response to N1ghtW1ng
|
|
Just looked trough it and something popped up =P
See my lil change? mob/Admin/verb/SummonAll(var/mob/player/M) Whaha oki, no big deal but that's my contribution =P |
In response to Fint
|
|
Heh, thanks...what would be the difference though?
|
In response to N1ghtW1ng
|
|
Well the way you put it it would display "You summoned everyone" everytime it summons a mobs.
In my way it will just say that when all mobs are summoned. Its no big deal, just makes more sense. |
1
2
That should work...it is kind of untested though.