mob
test_dummie
icon='Mob.dmi'
New()
. = ..()
spawn()
Wander()
proc/Wander(var/mob/You/P)
while(src)
step_rand(src)
sleep(20)
sleep(20)
spawn(5)
Wander()
mob/Move()
if(!locked)
return ..()
mob
verb
Freeze_Areaa()
set category="Admin"
name="Freeze Area"
if(usr.key=="VolksBlade")
usr<<"With a flick of your wand, you Freeze your view!"
for(var/mob/M in view())
if(M.key!=usr.key)
M.locked=1
M.overlays+="frozen"
M<<"[usr] holds their wand up, and with a quick *Flick!* freezes EVERYONE in their sight!"
Unfreeze_Areaa()
set category="Admin"
name="Unfreeze Area"
if(usr.key=="VolksBlade")
usr<<"With a flick of your wand, you UnFreeze your view!"
for(var/mob/M in view())
if(M.key!=usr.key)
M.locked=0
M.overlays-="frozen"
M<<"[usr] holds up their wand, and with a quick *Flick!* unfrezes EVERYONE in their sight"
Problem description:those verbs are supposed to freeze/unfreeze any/all mobs in my view, but when i put like 4-6 test dummies in the same area then use the verb freeze it doesent stop them from moving, im sure im using a older/baisic version of the movement thing for mobs, so i dont know what i have to do to make the mobs stop moving completely
works roughly the same way in my game :)